cmd/go: add testdata/timeoutbench_test.go
This file was accidentally omitted from the update to the final Go 1.8. From-SVN: r245814
This commit is contained in:
parent
c7f0c9f34f
commit
c85ac396f1
10
libgo/go/cmd/go/testdata/timeoutbench_test.go
vendored
Normal file
10
libgo/go/cmd/go/testdata/timeoutbench_test.go
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
package timeoutbench_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func BenchmarkSleep1s(b *testing.B) {
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
Loading…
Reference in New Issue
Block a user