testing.BenchmarkResult.Extra (field)
8 uses
testing (current package)
benchmark.go#L359: Extra map[string]float64
benchmark.go#L364: if v, ok := r.Extra["ns/op"]; ok {
benchmark.go#L375: if v, ok := r.Extra["MB/s"]; ok {
benchmark.go#L387: if v, ok := r.Extra["allocs/op"]; ok {
benchmark.go#L399: if v, ok := r.Extra["B/op"]; ok {
benchmark.go#L420: ns, ok := r.Extra["ns/op"]
benchmark.go#L436: for k := range r.Extra {
benchmark.go#L447: prettyPrint(buf, r.Extra[k], k)
![]() |
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. |