Versions in this module Expand all Collapse all v0 v0.1.0 May 5, 2026 Changes in this version + func RunBenchmarks(a mem.Allocator, benchmarks []Benchmark) + type B struct + N int + func (b *B) Allocator() mem.Allocator + func (b *B) Elapsed() time.Duration + func (b *B) Loop() bool + func (b *B) ResetTimer() + func (b *B) SetBytes(n int64) + func (b *B) StartTimer() + func (b *B) StopTimer() + type BenchTime struct + type Benchmark struct + F func(b *B) + Name string + type BenchmarkFunc func(b *B) + type BenchmarkResult struct + Bytes int64 + MemAllocs uint64 + MemBytes uint64 + N int + T time.Duration + func RunBenchmark(a mem.Allocator, f func(b *B)) BenchmarkResult + func (r BenchmarkResult) AllocedBytesPerOp() int64 + func (r BenchmarkResult) AllocsPerOp() int64 + func (r BenchmarkResult) MemString(buf []byte) string + func (r BenchmarkResult) NsPerOp() int64 + func (r BenchmarkResult) String(buf []byte) string