package report
import "github.com/coreos/etcd/pkg/report"
Package report generates human-readable benchmark reports.
Index ¶
- type Report
- func NewReport(precision string) Report
- func NewReportRate(precision string) Report
- func NewReportSample(precision string) Report
- type Result
- type TimeSeries
Types ¶
type Report ¶
Report processes a result stream until it is closed, then produces a string with information about the consumed result data.
func NewReport ¶
func NewReportRate ¶
func NewReportSample ¶
type Result ¶
Result describes the timings for an operation.
func (*Result) Duration ¶
type TimeSeries ¶
type TimeSeries []timeSeries
func (TimeSeries) Len ¶
func (t TimeSeries) Len() int
func (TimeSeries) Less ¶
func (t TimeSeries) Less(i, j int) bool
func (TimeSeries) String ¶
func (ts TimeSeries) String() string
func (TimeSeries) Swap ¶
func (t TimeSeries) Swap(i, j int)
Source Files ¶
doc.go report.go timeseries.go
- Version
- v3.1.0-rc.1+incompatible
- Published
- Nov 18, 2016
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 57 minutes ago –
Tools for package owners.