Documentation ¶
Index ¶
Constants ¶
View Source
const ( Operations = "ops" Latency = "ns/op" Throughput = "B/op" Heap = "allocs/op" Key = "size-key" Value = "size-value" Num = "num-objects" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Benchmark ¶
type Benchmark struct {
// contains filtered or unexported fields
}
func (Benchmark) Operations ¶
func (Benchmark) Throughput ¶
type Benchmarks ¶
type Benchmarks []Benchmark
Benchmarks is a collection of Benchmark results
func New ¶
func New(f string) (Benchmarks, error)
New creates a collection of Benchmark items from a given becnhmark output file
func (Benchmarks) Extract ¶
func (b Benchmarks) Extract(x, y string, filters ...Filter) *oremi.Collection
Extract extracts Latency and operation information from the given benchmarks x value to be used for the x-axis y value to be used for the y-axis
type Filter ¶
type Filter struct { Type FilterType // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.