Skip to content

Commit 7cc4b44

Browse files
committed
fix(testing): remove wrong reset timer
1 parent 9eff5c9 commit 7cc4b44

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

testing/testing/benchmark.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,6 @@ func (b *B) loopSlowPath() bool {
503503
if b.loop.n < uint64(b.benchTime.n) {
504504
b.loop.n = uint64(b.benchTime.n)
505505
b.loop.i++
506-
b.ResetTimer()
507506
b.StartTimer()
508507
return true
509508
}

0 commit comments

Comments
 (0)