Documentation ¶
Index ¶
Constants ¶
View Source
const NumIntervals = 10000 + int(time.Minute/interval) + 1 // The longest-range test we run has 10000 steps with a 1m range selector, so make sure we have slightly more data than that.
View Source
const UserID = "benchmark-tenant"
Variables ¶
View Source
var MetricSizes = []int{1, 100, 2000}
Functions ¶
Types ¶
type BenchCase ¶
func TestCases ¶
These test cases are taken from https://github.com/prometheus/prometheus/blob/main/promql/bench_test.go and enhanced/added to.
Click to show internal directories.
Click to hide internal directories.