type testing.B
28 uses
testing (current package)
benchmark.go#L77: F func(b *B)
benchmark.go#L93: type B struct {
benchmark.go#L100: benchFunc func(b *B)
benchmark.go#L121: func (b *B) StartTimer() {
benchmark.go#L134: func (b *B) StopTimer() {
benchmark.go#L147: func (b *B) ResetTimer() {
benchmark.go#L170: func (b *B) SetBytes(n int64) { b.bytes = n }
benchmark.go#L175: func (b *B) ReportAllocs() {
benchmark.go#L180: func (b *B) runN(n int) {
benchmark.go#L218: func (b *B) run1() bool {
benchmark.go#L259: func (b *B) run() {
benchmark.go#L279: func (b *B) doBench() BenchmarkResult {
benchmark.go#L289: func (b *B) launch() {
benchmark.go#L340: func (b *B) ReportMetric(n float64, unit string) {
benchmark.go#L532: main := &B{
benchmark.go#L539: benchFunc: func(b *B) {
benchmark.go#L555: func (ctx *benchContext) processBench(b *B) {
benchmark.go#L567: b = &B{
benchmark.go#L614: func (b *B) Run(name string, f func(b *B)) bool {
benchmark.go#L630: sub := &B{
benchmark.go#L677: func (b *B) add(other BenchmarkResult) {
benchmark.go#L697: func (b *B) trimOutput() {
benchmark.go#L747: func (b *B) RunParallel(body func(*PB)) {
benchmark.go#L791: func (b *B) SetParallelism(p int) {
benchmark.go#L805: func Benchmark(f func(b *B)) BenchmarkResult {
benchmark.go#L806: b := &B{
testing.go#L655: var _ TB = (*B)(nil)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |