...
Run Format

Source file src/cmd/go/testdata/timeoutbench_test.go

Documentation: cmd/go/testdata

     1  package timeoutbench_test
     2  
     3  import (
     4  	"testing"
     5  	"time"
     6  )
     7  
     8  func BenchmarkSleep1s(b *testing.B) {
     9  	time.Sleep(1 * time.Second)
    10  }
    11  

View as plain text