Skip to content

Commit 0eb01f0

Browse files
Included double and long score ZSET ingestion benchmarks (#122)
* Included ZSET ingestion benchmark: memtier_benchmark-1Mkeys-load-zset-with-10-elements * Included double and long score ZSET ingestion benchmarks
1 parent 42c89e9 commit 0eb01f0

File tree

4 files changed

+77
-3
lines changed

4 files changed

+77
-3
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# mac
2+
3+
.DS_Store
4+
15
# Node rules:
26
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
37
.grunt

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ redis = "^4.2.0"
1414
marshmallow = "^3.12.2"
1515
argparse = "^1.4.0"
1616
Flask-HTTPAuth = "^4.4.0"
17-
PyYAML = "^5.4.1"
17+
PyYAML = "^6.0"
1818
docker = "^5.0.0"
19-
redisbench-admin = "^0.9.3"
20-
#redisbench-admin = {path = "../redisbench-admin", develop = true}
19+
redisbench-admin = "^0.9.23"
2120
psutil = "^5.8.0"
2221
PyGithub = "^1.55"
2322
GitPython = "^3.1.20"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: 0.4
2+
name: "memtier_benchmark-1Mkeys-load-zset-with-10-elements-double-score"
3+
description: "Runs memtier_benchmark, for a keyspace length of 1M keys
4+
loading ZSETs with 10 elements."
5+
dbconfig:
6+
configuration-parameters:
7+
save: '""'
8+
tested-commands:
9+
- ZADD
10+
redis-topologies:
11+
- oss-standalone
12+
13+
build-variants:
14+
- gcc:8.5.0-amd64-debian-buster-default
15+
16+
17+
clientconfig:
18+
run_image: redislabs/memtier_benchmark:edge
19+
tool: memtier_benchmark
20+
arguments: '--test-time 180 -c 50 -t 4 --command "ZADD __key__ 0.306275 lysbgqqfqw 0.486004 mtccjerdon 0.941626 jekkafodvk 0.602656 nmgxcctxpn 0.630771 vyqqkuszzh 0.406379 pytrnqdhvs 0.521814 oguwnmniig 0.182854 gekntrykfh 0.657658 nhfnbxqgol 0.218066 cgoeihlnei" --command-key-pattern="P" --key-minimum=1 --key-maximum 1000000 --hide-histogram'
21+
resources:
22+
requests:
23+
cpus: "4"
24+
memory: "4g"
25+
26+
exporter:
27+
redistimeseries:
28+
break_by:
29+
- version
30+
- commit
31+
timemetric: '$."ALL STATS".Runtime."Start time"'
32+
metrics:
33+
- '$."ALL STATS".Totals."Ops/sec"'
34+
- '$."ALL STATS".Totals."Latency"'
35+
- '$."ALL STATS".Totals."Misses/sec"'
36+
- '$."ALL STATS".Totals."Percentile Latencies"."p50.00"'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: 0.4
2+
name: "memtier_benchmark-1Mkeys-load-zset-with-10-elements-int-score"
3+
description: "Runs memtier_benchmark, for a keyspace length of 1M keys
4+
loading ZSETs with 10 elements."
5+
dbconfig:
6+
configuration-parameters:
7+
save: '""'
8+
tested-commands:
9+
- ZADD
10+
redis-topologies:
11+
- oss-standalone
12+
13+
build-variants:
14+
- gcc:8.5.0-amd64-debian-buster-default
15+
16+
clientconfig:
17+
run_image: redislabs/memtier_benchmark:edge
18+
tool: memtier_benchmark
19+
arguments: '--test-time 180 -c 50 -t 4 --command "ZADD __key__ 1 lysbgqqfqw 2 mtccjerdon 3 jekkafodvk 4 nmgxcctxpn 5 vyqqkuszzh 6 pytrnqdhvs 7 oguwnmniig 8 gekntrykfh 9 nhfnbxqgol 10 cgoeihlnei" --command-key-pattern="P" --key-minimum=1 --key-maximum 1000000 --hide-histogram'
20+
resources:
21+
requests:
22+
cpus: "4"
23+
memory: "4g"
24+
25+
exporter:
26+
redistimeseries:
27+
break_by:
28+
- version
29+
- commit
30+
timemetric: '$."ALL STATS".Runtime."Start time"'
31+
metrics:
32+
- '$."ALL STATS".Totals."Ops/sec"'
33+
- '$."ALL STATS".Totals."Latency"'
34+
- '$."ALL STATS".Totals."Misses/sec"'
35+
- '$."ALL STATS".Totals."Percentile Latencies"."p50.00"'

0 commit comments

Comments
 (0)