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:
Ian Lance Taylor 2017-03-01 18:41:15 +00:00
parent c7f0c9f34f
commit c85ac396f1
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
package timeoutbench_test
import (
"testing"
"time"
)
func BenchmarkSleep1s(b *testing.B) {
time.Sleep(1 * time.Second)
}