package
0.0.0-20241118162539-34caac850176
Repository: https://go.googlesource.com/perf
Documentation: pkg.go.dev
# Packages
Package syntax documents the syntax used by benchmark filter and projection expressions.
# Functions
NewFilter constructs a result filter from a boolean filter expression, such as ".name:Copy /size:4k".
NewKeyHeader computes the KeyHeader of a slice of Keys by combining common prefixes of fields.
NonSingularFields returns the subset of Fields for which at least two of keys have different values.
SortKeys sorts a slice of Keys using Key.Less.
# Structs
A Field is a single field of a Projection.
A Filter filters benchmarks and benchmark observations.
A Key is an immutable tuple mapping from Fields to strings whose structure is given by a Projection.
A KeyHeader represents a slice of Keys, combined into a forest of trees by common Field values.
KeyHeaderNode is a node in a KeyHeader.
A Match records the set of result measurements that matched a filter query.
A Projection extracts some subset of the fields of a benchfmt.Result into a Key.
A ProjectionParser parses one or more related projection expressions.