diff --git a/libgo/go/cmd/go/testdata/timeoutbench_test.go b/libgo/go/cmd/go/testdata/timeoutbench_test.go new file mode 100644 index 00000000000..57a88882996 --- /dev/null +++ b/libgo/go/cmd/go/testdata/timeoutbench_test.go @@ -0,0 +1,10 @@ +package timeoutbench_test + +import ( + "testing" + "time" +) + +func BenchmarkSleep1s(b *testing.B) { + time.Sleep(1 * time.Second) +}