From 69ab0353075facca774721cc22337217ba825adf Mon Sep 17 00:00:00 2001 From: ian Date: Wed, 1 Mar 2017 18:41:15 +0000 Subject: cmd/go: add testdata/timeoutbench_test.go This file was accidentally omitted from the update to the final Go 1.8. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245814 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 (limited to 'libgo/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 000000000000..57a88882996b --- /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) +} -- cgit v1.2.3