1 2 3 4 5 6 7 8 9 10
package timeoutbench_test import ( "testing" "time" ) func BenchmarkSleep1s(b *testing.B) { time.Sleep(1 * time.Second) }