Documentation ¶ Index ¶ type Bm func (b *Bm) Execute() *BmResult type BmResult func (b BmResult) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Bm ¶ type Bm struct { CreateStore bool Store *store.Store Name string Concurrency int Iterations int Before func(bm *Bm) After func(bm *Bm) Work func(bm *Bm, start int, end int) error } Bm benchmark func (*Bm) Execute ¶ func (b *Bm) Execute() *BmResult Execute runs the benchmark type BmResult ¶ type BmResult struct { Bm *Bm Time float64 Transactions float64 MemStatsBeforeRun runtime.MemStats MemStatsBeforeGC runtime.MemStats MemStatsAfterGC runtime.MemStats } BmResult benchmark result func (BmResult) String ¶ func (b BmResult) String() string Source Files ¶ View all Source files bm.gobm_result.goutil.go Click to show internal directories. Click to hide internal directories.