promql: add a benchmark for topk with k > 1

I picked k = 5.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
Bryan Boreham 2023-03-28 10:51:04 +00:00
parent 211ae4f1f0
commit cf54a14f9c

View file

@ -157,6 +157,9 @@ func rangeQueryCases() []benchCase {
{
expr: "topk(1, a_X)",
},
{
expr: "topk(5, a_X)",
},
// Combinations.
{
expr: "rate(a_X[1m]) + rate(b_X[1m])",