From 6880d6059cb179ca5b91c82900b1063767b84490 Mon Sep 17 00:00:00 2001 From: filipe oliveira Date: Fri, 18 Feb 2022 08:20:32 +0000 Subject: [PATCH] Added memtier_benchmark-1key-zset-1M-elements-zrevrange-5-elements. Helps assessing https://github.com/redis/redis/issues/10310 (#83) --- pyproject.toml | 2 +- ...-zset-1M-elements-zrevrange-5-elements.yml | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 redis_benchmarks_specification/test-suites/memtier_benchmark-1key-zset-1M-elements-zrevrange-5-elements.yml diff --git a/pyproject.toml b/pyproject.toml index 4d414c9..d0e6c50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "redis-benchmarks-specification" -version = "0.1.21" +version = "0.1.22" description = "The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute." authors = ["filipecosta90 ","Redis Performance Group "] readme = "Readme.md" diff --git a/redis_benchmarks_specification/test-suites/memtier_benchmark-1key-zset-1M-elements-zrevrange-5-elements.yml b/redis_benchmarks_specification/test-suites/memtier_benchmark-1key-zset-1M-elements-zrevrange-5-elements.yml new file mode 100644 index 0000000..d552926 --- /dev/null +++ b/redis_benchmarks_specification/test-suites/memtier_benchmark-1key-zset-1M-elements-zrevrange-5-elements.yml @@ -0,0 +1,38 @@ +version: 0.4 +name: "memtier_benchmark-1key-zset-1M-elements-zrevrange-5-elements" +description: "Runs memtier_benchmark, for a keyspace length of 1 SORTED SET key. + The SORTED SET contains 1M elements in it and we query it using ZREVRANGE with a range of 5 elements. + This benchmarks helps assessing: https://github.com/redis/redis/issues/10310" + +dbconfig: + configuration-parameters: + save: '""' + preload_tool: + run_image: redislabs/memtier_benchmark:edge + tool: memtier_benchmark + arguments: '--key-maximum 1000000 --key-prefix "" --command="ZADD lb __key__ __key__" --command-key-pattern P --hide-histogram -t 4 -c 100' +tested-commands: + - ZREVRANGE +redis-topologies: + - oss-standalone + +build-variants: + - gcc:8.5.0-amd64-debian-buster-default + +clientconfig: + run_image: redislabs/memtier_benchmark:edge + tool: memtier_benchmark + arguments: '--command="ZREVRANGE lb 5 10" --hide-histogram --test-time 180' + resources: + requests: + cpus: "4" + memory: "2g" +exporter: + redistimeseries: + break_by: + - version + - commit + timemetric: '$."ALL STATS".Runtime."Start time"' + metrics: + - '$."ALL STATS".*."Ops/sec"' + - '$."ALL STATS".*."Latency"'