Documentation ¶
Index ¶
- func NewBenchmarks(benchWeight map[bench.Weight]uint, summaryHTML template.HTML, ...) score.Axis
- func NewWarnings(levelWeight map[warning.Level]uint, summaryHTML template.HTML) score.Axis
- func Setup() error
- type BenchOptions
- type Benchmarks
- func (b *Benchmarks) Documentation() template.HTML
- func (b *Benchmarks) Exhibits() []score.Exhibit
- func (b *Benchmarks) HasTest(test data.TestTag) bool
- func (b *Benchmarks) Name() string
- func (b *Benchmarks) ScoreFor(handler data.HandlerTag) score.Value
- func (b *Benchmarks) ScoreForTest(handler data.HandlerTag, test data.TestTag) score.Value
- func (b *Benchmarks) ScoreForType(handler data.HandlerTag, scoreType score.Type) score.Value
- func (b *Benchmarks) Setup(benchMarks *data.Benchmarks, _ *data.Warnings) error
- func (b *Benchmarks) Summary() template.HTML
- type Warnings
- func (w *Warnings) CountForLevel(handler data.HandlerTag, level warning.Level) score.Value
- func (w *Warnings) Documentation() template.HTML
- func (w *Warnings) HasTest(_ data.TestTag) bool
- func (w *Warnings) Name() string
- func (w *Warnings) ScoreFor(handler data.HandlerTag) score.Value
- func (w *Warnings) ScoreForLevel(handler data.HandlerTag, level warning.Level) score.Value
- func (w *Warnings) ScoreForTest(handler data.HandlerTag, test data.TestTag) score.Value
- func (w *Warnings) ScoreForType(handler data.HandlerTag, scoreType score.Type) score.Value
- func (w *Warnings) Setup(_ *data.Benchmarks, warns *data.Warnings) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBenchmarks ¶
func NewWarnings ¶
Types ¶
type BenchOptions ¶
type Benchmarks ¶
type Benchmarks struct { BenchOptions // contains filtered or unexported fields }
func (*Benchmarks) Documentation ¶
func (b *Benchmarks) Documentation() template.HTML
func (*Benchmarks) Exhibits ¶
func (b *Benchmarks) Exhibits() []score.Exhibit
func (*Benchmarks) Name ¶
func (b *Benchmarks) Name() string
func (*Benchmarks) ScoreFor ¶
func (b *Benchmarks) ScoreFor(handler data.HandlerTag) score.Value
func (*Benchmarks) ScoreForTest ¶ added in v1.1.0
func (b *Benchmarks) ScoreForTest(handler data.HandlerTag, test data.TestTag) score.Value
func (*Benchmarks) ScoreForType ¶ added in v1.1.0
func (b *Benchmarks) ScoreForType(handler data.HandlerTag, scoreType score.Type) score.Value
func (*Benchmarks) Setup ¶
func (b *Benchmarks) Setup(benchMarks *data.Benchmarks, _ *data.Warnings) error
func (*Benchmarks) Summary ¶
func (b *Benchmarks) Summary() template.HTML
type Warnings ¶
func (*Warnings) CountForLevel ¶ added in v1.1.0
func (*Warnings) Documentation ¶
func (*Warnings) ScoreForLevel ¶ added in v1.1.0
func (*Warnings) ScoreForTest ¶ added in v1.1.0
func (*Warnings) ScoreForType ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.