Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonFormatter ¶
func YamlFormatter ¶
Types ¶
type EventDuration ¶
type EventDurationsByJobId ¶
type EventDurationsByJobId struct {
JobId string `json:"jobId"`
Events []*EventDuration `json:"events"`
}
type EventsBenchmark ¶
func New ¶
func New(c chan *api.EventMessage) *EventsBenchmark
func (*EventsBenchmark) NewTestCaseBenchmarkReport ¶
func (srv *EventsBenchmark) NewTestCaseBenchmarkReport(name string) *TestCaseBenchmarkReport
type GlobalBenchmarkReport ¶
type GlobalBenchmarkReport struct {
Statistics map[string]*Statistics `json:"statistics"`
Subreports []*TestCaseBenchmarkReport `json:"subreports"`
}
func AggregateTestBenchmarkReports ¶
func AggregateTestBenchmarkReports(reports []*TestCaseBenchmarkReport) *GlobalBenchmarkReport
AggregateTestBenchmarkReports aggregates all test file benchmark reports and creates a global test benchmark report.
type Statistics ¶
type TestCaseBenchmarkReport ¶
type TestCaseBenchmarkReport struct {
Name string `json:"name"`
Statistics map[string]*Statistics `json:"statistics"`
Summary []*EventDurationsByJobId `json:"summary"`
}
func (*TestCaseBenchmarkReport) Generate ¶
func (r *TestCaseBenchmarkReport) Generate(formatter Formatter) ([]byte, error)
func (*TestCaseBenchmarkReport) Print ¶
func (r *TestCaseBenchmarkReport) Print(out io.Writer)
func (*TestCaseBenchmarkReport) PrintStatistics ¶
func (r *TestCaseBenchmarkReport) PrintStatistics(out io.Writer)
func (*TestCaseBenchmarkReport) PrintSummary ¶
func (r *TestCaseBenchmarkReport) PrintSummary(out io.Writer)
Click to show internal directories.
Click to hide internal directories.