Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCrossRunConfig ¶
func NewCrossRunConfig(runCount int32, tags ...string) *tpb.CrossRunConfig
NewCrossRunConfig returns a config that can be used in ThresholdAnalyzer. By using it, the Analyzer will only fail if there are xx continuous runs that cross the threshold.
Types ¶
type Client ¶
type Client struct { Quickstore *quickstore.Quickstore Context context.Context ShutDownFunc func(context.Context) // contains filtered or unexported fields }
Client is a wrapper that wraps all Mako related operations
func SetupHelper ¶
func SetupHelper(ctx context.Context, benchmarkKey *string, benchmarkName *string, extraTags ...string) (*Client, error)
SetupHelper sets up the mako client for the provided benchmarkKey. It will add a few common tags and allow each benchmark to add custom tags as well. It returns the mako client handle to store metrics, a method to close the connection to mako server once done and error in case of failures.
func (*Client) StoreAndHandleResult ¶
StoreAndHandleResult stores the benchmarking data and handles the result.
Click to show internal directories.
Click to hide internal directories.