Documentation
¶
Index ¶
- func Run(args []string)
- type CommandLineArgs
- type ConsoleBenchmarkBuilder
- type ConsoleRunner
- type TConsoleEventPrinter
- func (c *TConsoleEventPrinter) Attach(runner *benchrunner.BenchmarkRunner)
- func (c *TConsoleEventPrinter) OnErrorReported(message error)
- func (c *TConsoleEventPrinter) OnMessageSent(message string)
- func (c *TConsoleEventPrinter) OnResultUpdated(result *benchrunner.BenchmarkResult)
- func (c *TConsoleEventPrinter) OnStateUpdated(state benchrunner.ExecutionState)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandLineArgs ¶
type CommandLineArgs struct { Modules []string Classes []string Benchmarks []string Parameters map[string]string ConfigurationFile string ReportFile string Duration int64 ShowHelp bool ShowBenchmarks bool ShowParameters bool ShowReport bool MeasureEnvironment bool MeasurementType benchrunner.MeasurementType ExecutionType benchrunner.ExecutionType NominalRate float64 }
func NewCommandLineArgs ¶
func NewCommandLineArgs(args []string) *CommandLineArgs
type ConsoleBenchmarkBuilder ¶
type ConsoleBenchmarkBuilder struct {
*benchrunner.BenchmarkBuilder
}
func NewConsoleBenchmarkBuilder ¶
func NewConsoleBenchmarkBuilder() *ConsoleBenchmarkBuilder
func (*ConsoleBenchmarkBuilder) Create ¶
func (c *ConsoleBenchmarkBuilder) Create() *benchrunner.BenchmarkRunner
func (*ConsoleBenchmarkBuilder) СonfigureWithArgs ¶
func (c *ConsoleBenchmarkBuilder) СonfigureWithArgs(args interface{}) *benchrunner.BenchmarkBuilder
type ConsoleRunner ¶
type ConsoleRunner struct {
// contains filtered or unexported fields
}
func (*ConsoleRunner) PrintHelp ¶
func (c *ConsoleRunner) PrintHelp()
func (*ConsoleRunner) Stop ¶
func (c *ConsoleRunner) Stop()
type TConsoleEventPrinter ¶
type TConsoleEventPrinter struct { }
var ConsoleEventPrinter TConsoleEventPrinter = TConsoleEventPrinter{}
func (*TConsoleEventPrinter) Attach ¶
func (c *TConsoleEventPrinter) Attach(runner *benchrunner.BenchmarkRunner)
func (*TConsoleEventPrinter) OnErrorReported ¶
func (c *TConsoleEventPrinter) OnErrorReported(message error)
func (*TConsoleEventPrinter) OnMessageSent ¶
func (c *TConsoleEventPrinter) OnMessageSent(message string)
func (*TConsoleEventPrinter) OnResultUpdated ¶
func (c *TConsoleEventPrinter) OnResultUpdated(result *benchrunner.BenchmarkResult)
func (*TConsoleEventPrinter) OnStateUpdated ¶
func (c *TConsoleEventPrinter) OnStateUpdated(state benchrunner.ExecutionState)
Click to show internal directories.
Click to hide internal directories.