package
1.6.0-beta.5
Repository: https://github.com/polarismesh/polaris-go.git
Documentation: pkg.go.dev

# Functions

NewHistogram returns a pointer to a new Histogram object that was created with the provided options.
NewStats creates a new Stats instance.

# Constants

FeatureIndex enum values corresponding to individually settable features.
MaxFeatureIndex is a place holder to indicate the total number of feature indices we have.

# Structs

BenchResults records features and results of a benchmark run.
Features represent configured options for a specific benchmark run.
Histogram accumulates values in the form of a histogram with exponentially increased bucket sizes.
HistogramBucket represents one histogram bucket.
HistogramOptions contains the parameters that define the histogram's buckets.
RunData contains statistical data of interest from a benchmark run.
Stats is a helper for gathering statistics about individual benchmark runs.

# Type aliases

FeatureIndex is an enum for features that usually differ across individual benchmark runs in a single execution.