Skip to content

Commit c3293a3

Browse files
Added GEOPOS and GEOSEARCH WITHCOORD new benchmarks
1 parent 0b1738e commit c3293a3

4 files changed

+67
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: 0.4
2+
name: memtier_benchmark-1key-geo-2-elements-geopos
3+
description: 'Runs memtier_benchmark, for a keyspace length of 1 GEO key. The GEO key contains 2 elements and comes from the example of https://redis.io/docs/latest/commands/geopos, and we query it using GEOPOS command.'
4+
dbconfig:
5+
configuration-parameters:
6+
save: '""'
7+
check:
8+
keyspacelen: 1
9+
resources:
10+
requests:
11+
memory: 1g
12+
init_commands:
13+
- '"GEOADD" "Sicily" "13.361389" "38.115556" "Palermo" "15.087269" "37.502669" "Catania"'
14+
tested-groups:
15+
- geo
16+
tested-commands:
17+
- geopos
18+
redis-topologies:
19+
- oss-standalone
20+
build-variants:
21+
- gcc:8.5.0-amd64-debian-buster-default
22+
- dockerhub
23+
clientconfig:
24+
run_image: redislabs/memtier_benchmark:edge
25+
tool: memtier_benchmark
26+
arguments: -c 50 -t 4 --command="GEOPOS Sicily Palermo Catania" --hide-histogram --test-time 120
27+
resources:
28+
requests:
29+
cpus: '4'
30+
memory: 2g
31+
32+
priority: 138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
version: 0.4
2+
name: memtier_benchmark-1key-geo-2-elements-geosearch-fromlonlat-withcoord
3+
description: 'Runs memtier_benchmark, for a keyspace length of 1 GEO key. The GEO key contains 2 elements and comes from the example of https://redis.io/docs/latest/commands/geosearch, and we query it using GEOSEARCH command.'
4+
dbconfig:
5+
configuration-parameters:
6+
save: '""'
7+
check:
8+
keyspacelen: 1
9+
resources:
10+
requests:
11+
memory: 1g
12+
init_commands:
13+
- '"GEOADD" "Sicily" "13.361389" "38.115556" "Palermo" "15.087269" "37.502669" "Catania"'
14+
- '"GEOADD" "Sicily" "12.758489" "38.788135" "edge1" "17.241510" "38.788135" "edge2"'
15+
tested-groups:
16+
- geo
17+
tested-commands:
18+
- geosearch
19+
redis-topologies:
20+
- oss-standalone
21+
build-variants:
22+
- gcc:8.5.0-amd64-debian-buster-default
23+
- dockerhub
24+
clientconfig:
25+
run_image: redislabs/memtier_benchmark:edge
26+
tool: memtier_benchmark
27+
arguments: -c 50 -t 4 --command="GEOSEARCH Sicily FROMLONLAT 15 37 BYBOX 400 400 km ASC WITHCOORD WITHDIST" --hide-histogram --test-time 120
28+
resources:
29+
requests:
30+
cpus: '4'
31+
memory: 2g
32+
33+
priority: 138

redis_benchmarks_specification/test-suites/memtier_benchmark-1key-set-10M-elements-sismember-50pct-chance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ tested-groups:
1717
- set
1818
tested-commands:
1919
- sadd
20+
- sismember
2021
redis-topologies:
2122
- oss-standalone
2223
build-variants:

redis_benchmarks_specification/test-suites/memtier_benchmark-1key-set-1M-elements-sismember-50pct-chance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ tested-groups:
1717
- set
1818
tested-commands:
1919
- sadd
20+
- sismember
2021
redis-topologies:
2122
- oss-standalone
2223
build-variants:

0 commit comments

Comments
 (0)