mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-22 09:09:08 +01:00
fix serialization, added benchmark tests, updated next release docs
This commit is contained in:
@@ -111,3 +111,11 @@ func TestFinishMultipleCalls(t *testing.T) {
|
||||
}
|
||||
wg.Wait()
|
||||
}
|
||||
|
||||
func BenchmarkTasks(b *testing.B) {
|
||||
for range b.N {
|
||||
task := testTask()
|
||||
task.Subtask("", true).Finish(nil)
|
||||
task.Finish(nil)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user