Skip to content

Commit b702dd9

Browse files
authored
added support for bitfield command. (#178)
* added support for bitfield command. * fixed test command and group in memtier_benchmark-1key-100MB-string-bitfield.yml
1 parent 0982f56 commit b702dd9

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: 0.4
2+
name: memtier_benchmark-1key-100MB-string-bitfield
3+
description: Runs memtier_benchmark, for a keyspace length of 1 key with a data size of 100MB for the key. The motivation for BITFIELD is to be able to pack many small integers in a large bitmat. Perform GET, SET and INCRBY using the BITFIELD command with random bit offsets. Since the bit offsets may be up to and including 100000000, some operations may result in enlarging the string (which is OK).
4+
dbconfig:
5+
configuration-parameters:
6+
save: '""'
7+
preload_tool:
8+
run_image: redislabs/memtier_benchmark:edge
9+
tool: memtier_benchmark
10+
arguments: --data-size 100000000 -n 1 --command "SET key1 __data__" -c 1 -t 1 --hide-histogram
11+
tested-commands:
12+
- bitfield
13+
redis-topologies:
14+
- oss-standalone
15+
build-variants:
16+
- gcc:8.5.0-amd64-debian-buster-default
17+
clientconfig:
18+
run_image: redislabs/memtier_benchmark:edge
19+
tool: memtier_benchmark
20+
arguments: --command "BITFIELD key1 INCRBY i5 __key__ 1 GET u4 __key__ SET i8 __key__ 1" --key-maximum 100000000 --command-key-pattern="R" --key-prefix "" -c 2 -t 2 --hide-histogram --test-time 180
21+
resources:
22+
requests:
23+
cpus: '2'
24+
memory: 2g
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"
36+
tested-groups:
37+
- bitmap

0 commit comments

Comments
 (0)