From c85ac396f106116a20463313a2c4646a7de61433 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 1 Mar 2017 18:41:15 +0000 Subject: [PATCH] cmd/go: add testdata/timeoutbench_test.go This file was accidentally omitted from the update to the final Go 1.8. From-SVN: r245814 --- libgo/go/cmd/go/testdata/timeoutbench_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libgo/go/cmd/go/testdata/timeoutbench_test.go 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) +} -- 2.30.2