plot

package
v0.0.0-...-0fb5f28 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScatterType = "scatter"
	AvgLineType = "avg_line"
)

The available plot types.

View Source
const (
	RunsName        = "runs"
	TimeName        = "time"
	NumAllocsName   = "mem_allocs"
	AllocBytesName  = "mem_used"
	AllocMBytesRate = "mem_by_time"
)

The benchmark output names. These are the available values for the y-axis.

Variables

This section is empty.

Functions

func Benchmark

func Benchmark(b benchparse.Benchmark, p plotter.Plotter, xName, yName string, options ...plotOption) error

Benchmark plots the benchmark.

Types

type WithFilterBy

type WithFilterBy []string

WithFilterBy is an option to specify any expressions to filter the data to be plotted.

type WithGroupBy

type WithGroupBy []string

WithGroupBy is an option to specify how plot data should be grouped.

type WithPlotTypes

type WithPlotTypes []string

WithPlotTypes is an option to specify the plots to create.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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