Skip to content

Commit db280ca

Browse files
committed
feat: increase default bench time from 1 to 5 seconds
1 parent 9041536 commit db280ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/testing/benchmark.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var (
3737
matchBenchmarks *string
3838
benchmarkMemory *bool
3939

40-
benchTime = durationOrCountFlag{d: 1 * time.Second} // changed during test of testing package
40+
benchTime = durationOrCountFlag{d: 5 * time.Second} // changed during test of testing package
4141
)
4242

4343
type durationOrCountFlag struct {

0 commit comments

Comments
 (0)