console

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string)

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 (*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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL