Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stat ¶
type Stat struct { Name string Count int Total time.Duration Max time.Duration // contains filtered or unexported fields }
func (Stat) ReportComputer ¶
func (s Stat) ReportComputer()
ReportComputer reports the stat in a computer friendly form in microseconds.
type TestRun ¶
type TestRun struct {
// contains filtered or unexported fields
}
TestRun represents one test run, including all the structures used for the test
func NewTestRun ¶
func NewTestRun(metricsChan chan *schema.MetricData, queriesChan chan string, addsPerSec, addThreads, initialIndexSize, queriesPerSec uint32, concQueries int) *TestRun
NewTestRun Instantiates a new test run
func (*TestRun) PrintStats ¶
func (t *TestRun) PrintStats()
PrintStats writes all the statistics in human readable format into stdout
Click to show internal directories.
Click to hide internal directories.