Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BenchServer ¶
Types ¶
type B ¶
type B struct { N int // contains filtered or unexported fields }
B is a type passed to Benchmark functions to manage benchmark timing and to specify the number of iterations to run.
type InternalBenchmark ¶
type InternalBenchmark struct { Name string F func(b *B) // tricky! we secretly replaced *testing.B with *B }
An internal type but exported because it is cross-package; part of the implementation of the "go test" command.
Click to show internal directories.
Click to hide internal directories.