Lines Matching full:benchmarkresult
45 result BenchmarkResult
178 func (b *B) run() BenchmarkResult {
218 b.result = BenchmarkResult{b.N, b.duration, b.bytes, b.netAllocs, b.netBytes}
222 type BenchmarkResult struct {
230 func (r BenchmarkResult) NsPerOp() int64 {
237 func (r BenchmarkResult) mbPerSec() float64 {
244 func (r BenchmarkResult) AllocsPerOp() int64 {
251 func (r BenchmarkResult) AllocedBytesPerOp() int64 {
258 func (r BenchmarkResult) String() string {
278 func (r BenchmarkResult) MemString() string {
458 func Benchmark(f func(b *B)) BenchmarkResult {