Skip to content

Included memtier_benchmark-2keys-lua-eval-hset-expire test case for EVAL perf tracking #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
version: 0.4
name: "memtier_benchmark-2keys-lua-eval-hset-expire"
description: "Runs memtier_benchmark, for a keyspace length of 2 HASH keys.
This benchmark invokes the execution of a server-side Lua script doing 2 HSET commands and doing EXPIRE on those keys.
"

dbconfig:
- configuration-parameters:
- save: '""'
tested-groups:
- scripting
tested-commands:
- EVAL
- HSET
- EXPIRE
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=\"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"
resources:
requests:
cpus: "4"
memory: "2g"
exporter:
redistimeseries:
break_by:
- version
- commit
timemetric: '$."ALL STATS".Runtime."Start time"'
metrics:
- '$."ALL STATS".Totals."Ops/sec"'
- '$."ALL STATS".Totals."Latency"'
- '$."ALL STATS".Totals."Misses/sec"'
- '$."ALL STATS".Totals."Percentile Latencies"."p50.00"'