Merge pull request #12758 from bboreham/trim-rangequery-benchmarks

PromQL: reduce numbers of benchmarks
This commit is contained in:
Julien Pivotto 2023-09-08 14:06:21 +02:00 committed by GitHub
commit 284ba3426b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,8 @@ func rangeQueryCases() []benchCase {
expr: "sum by (le)(h_X)",
},
{
expr: "count_values('value', h_X)",
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})
}