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
1 changed files with 10 additions and 0 deletions
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…
Add table
Reference in a new issue