package
0.0.0-20200703095509-cc86603b715a
Repository: https://github.com/satishbellapu/perf-tests.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
ChangeColor is a slightly modified version of daviddengcn/go-colortext, so it'll work well with io.Writer.
CompareLogGenerationSpeed given two summaries compares the data in them and returns set of offending values.
CompareMetrics given two summaries compares the data in them and returns set of offending values.
CompareResourceUsages given two summaries compares the data in them and returns set of offending values.
ProcessSingleTest processes single Jenkins output file, reading and parsing JSON summaries embedded in it.
ResetColor is a slightly modified version of daviddengcn/go-colortext, so it'll work well with io.Writer.
# Constants
LogsGenerationVarianceAllowedPercent specifies how much variance we allow between results.
MetricsVarianceAllowedPercent specifies how much variance we allow between results.
ResourceUsageVarianceAllowedPercent specifies how much variance we allow between results.
# Structs
ViolatingLogGenerationPair stores a pair of results which proves that the difference is too big.
ViolatingMetric stores a pair of metrics which proves that the difference between them is too big Contains an info about the source component for those metrics, and all their labels.
ViolatingResourceUsageDataPair stores a pair of results which proves that the difference is too big.
# Type aliases
ViolatingLogGenerationData stores offending pairs keyed by the log file identified by the path.
ViolatingMetricsArr stores offending metrics keyed by the metric name.
ViolatingResourceUsageData stores offending pairs keyed by the log file identified by the container name.