Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDirectory ¶
func WithOutput ¶
Types ¶
type Analyzer ¶
type Analyzer struct {
Data []*exercise.BenchmarkData
Dir string
Output string
// contains filtered or unexported fields
}
func NewAnalyzer ¶
func NewAnalyzer(cfg config.ExerciseConfiguration, opts ...func(*Analyzer)) (*Analyzer, error)
type HumanizedLogTicks ¶
type HumanizedLogTicks struct {
// Prec specifies the precision of tick rendering
// according to the documentation for strconv.FormatFloat.
Prec int
}
HumanizedLogTicks is suitable for the Tick.Marker field of an Axis, it returns tick marks suitable for a log-scale axis which have been humanized.
Click to show internal directories.
Click to hide internal directories.