mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
Merge pull request #12758 from bboreham/trim-rangequery-benchmarks
PromQL: reduce numbers of benchmarks
This commit is contained in:
commit
284ba3426b
|
@ -155,6 +155,7 @@ func rangeQueryCases() []benchCase {
|
|||
},
|
||||
{
|
||||
expr: "count_values('value', h_X)",
|
||||
steps: 100,
|
||||
},
|
||||
{
|
||||
expr: "topk(1, a_X)",
|
||||
|
@ -214,7 +215,6 @@ func rangeQueryCases() []benchCase {
|
|||
tmp = append(tmp, c)
|
||||
} else {
|
||||
tmp = append(tmp, benchCase{expr: c.expr, steps: 1})
|
||||
tmp = append(tmp, benchCase{expr: c.expr, steps: 10})
|
||||
tmp = append(tmp, benchCase{expr: c.expr, steps: 100})
|
||||
tmp = append(tmp, benchCase{expr: c.expr, steps: 1000})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue