package
1.36.2
Repository: https://github.com/onsi/gomega.git
Documentation: pkg.go.dev

# Packages

# Functions

NexExperiment creates a new experiment with the passed-in name.
NewExperimentCache creates and initializes a new cache.
Precision() allows you to specify the precision of a value or duration measurement - this precision is used when rendering the measurement to screen.
RankStats creates a new ranking of the passed-in stats according to the passed-in criteria.

# Constants

# Variables

DefaultPrecisionBundle captures the default precisions for Vale and Duration measurements.

# Structs

CachedExperimentHeader captures the name of the Cached Experiment and its Version */.
Experiment is gmeasure's core data type.
ExperimentCache provides a director-and-file based cache of experiments */.
Measurement records all captured data for a given measurement.
The PrecisionBundle decorator controls the rounding of value and duration measurements.
Ranking ranks a set of Stats by a specified RankingCritera.
SamplingConfig configures the Sample family of experiment methods.
Stats records the key statistics for a given measurement.
Stopwatch provides a convenient abstraction for recording durations.

# Type aliases

The Annotation decorator allows you to attach an annotation to a given recorded data-point: For example: e := gmeasure.NewExperiment("My Experiment") e.RecordValue("length", 3.141, gmeasure.Annotation("bob")) e.RecordValue("length", 2.71, gmeasure.Annotation("jane")) ...will result in a Measurement named "length" that records two values )[3.141, 2.71]) annotation with (["bob", "jane"]).
RankingCriteria is an enum representing the criteria by which Stats should be ranked.
Stat is an enum representing the statistics you can request of a Stats struct */.
The Style decorator allows you to associate a style with a measurement.
The Units decorator allows you to specify units (an arbitrary string) when recording values.