Skip to content

Commit 49bfaae

Browse files
committed
Included memtier_benchmark-2keys-lua-eval-hset-expire test case for EVAL perf tracking
1 parent a481957 commit 49bfaae

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version: 0.4
2+
name: "memtier_benchmark-2keys-lua-eval-hset-expire"
3+
description: "Runs memtier_benchmark, for a keyspace length of 2 HASH keys.
4+
This benchmark invokes the execution of a server-side Lua script doing 2 HSET commands and doing EXPIRE on those keys.
5+
"
6+
7+
dbconfig:
8+
- configuration-parameters:
9+
- save: '""'
10+
tested-groups:
11+
- scripting
12+
tested-commands:
13+
- EVAL
14+
- HSET
15+
- EXPIRE
16+
redis-topologies:
17+
- oss-standalone
18+
19+
build-variants:
20+
- gcc:8.5.0-amd64-debian-buster-default
21+
22+
clientconfig:
23+
run_image: redislabs/memtier_benchmark:edge
24+
tool: memtier_benchmark
25+
arguments: "--command=\"eval \\\"redis.call('hset', 'h1', 'k', 'v');redis.call('hset', 'h2', 'k', 'v');redis.call('expire', 'h1', 3600);redis.call('expire', 'h2', 3600);return redis.call('ping')\\\" 2 h1 h2\" --hide-histogram --test-time 180"
26+
resources:
27+
requests:
28+
cpus: "4"
29+
memory: "2g"
30+
exporter:
31+
redistimeseries:
32+
break_by:
33+
- version
34+
- commit
35+
timemetric: '$."ALL STATS".Runtime."Start time"'
36+
metrics:
37+
- '$."ALL STATS".Totals."Ops/sec"'
38+
- '$."ALL STATS".Totals."Latency"'
39+
- '$."ALL STATS".Totals."Misses/sec"'
40+
- '$."ALL STATS".Totals."Percentile Latencies"."p50.00"'

0 commit comments

Comments
 (0)