...
Run Format

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

Documentation: cmd/go/testdata

  package timeoutbench_test
  
  import (
  	"testing"
  	"time"
  )
  
  func BenchmarkSleep1s(b *testing.B) {
  	time.Sleep(1 * time.Second)
  }
  

View as plain text