Documentation
¶
Index ¶
- func NewBenchmarkPlots(year int) ([][]*plot.Plot, error)
- func WithCompare(compare bool) func(*Analyzer)
- func WithDaily(daily bool) func(*Analyzer)
- func WithDirectory(dir string) func(*Analyzer)
- func WithOutput(name string) func(*Analyzer)
- func WithYearly(yearly bool) func(*Analyzer)
- type Analyzer
- type HumanizedLogTicks
- type ImplDataMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCompare ¶
func WithDirectory ¶
func WithOutput ¶
func WithYearly ¶
Types ¶
type Analyzer ¶
type Analyzer struct {
Data []*advent.BenchmarkData
Dir string
Output string
GraphType analysis.GraphType
// contains filtered or unexported fields
}
func NewAnalyzer ¶
func NewAnalyzer(config krampus.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.