Categorygithub.com/ShawnROGrady/benchparse
modulepackage
0.4.1
Repository: https://github.com/shawnrogrady/benchparse.git
Documentation: pkg.go.dev

# README

GoTest GoBuild GoDoc

benchparse

Utilities for parsing go benchmark results. Parsed results are split by sub-benchmarks, with support for sub-benchmarks with names of the form var_name=var_value.

See godoc for full package details and examples.

# Functions

ParseBenchmarks extracts a list of Benchmarks from testing.B output.

# Constants

The available comparison operations.
The available comparison operations.
The available comparison operations.
The available comparison operations.
The available comparison operations.
The available comparison operations.

# Variables

ErrNotMeasured indicates that a specific output was not measured.

# Structs

BenchInputs define a sub-benchmark.
Benchmark represents a single top-level benchmark and it's results.
BenchRes represents a result from a single benchmark run.
BenchSub represents an input to the benchmark represented by a sub-benchmark with a name NOT of the form 'var_name=var_value'.
BenchVarValue represents an input to the benchmark represented by a sub-benchmark with a name of the form 'var_name=var_value'.

# Interfaces

BenchOutputs are the outputs of a single benchmark run.

# Type aliases

BenchResults represents a list of benchmark results.
Comparison represents a comparison operation.
GroupedResults represents a grouping of benchmark results.