Skip to content

Commit

Permalink
Added GEOPOS and GEOSEARCH WITHCOORD new benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
fcostaoliveira committed Aug 27, 2024
1 parent 0b1738e commit c3293a3
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 0.4
name: memtier_benchmark-1key-geo-2-elements-geopos
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.'
dbconfig:
configuration-parameters:
save: '""'
check:
keyspacelen: 1
resources:
requests:
memory: 1g
init_commands:
- '"GEOADD" "Sicily" "13.361389" "38.115556" "Palermo" "15.087269" "37.502669" "Catania"'
tested-groups:
- geo
tested-commands:
- geopos
redis-topologies:
- oss-standalone
build-variants:
- gcc:8.5.0-amd64-debian-buster-default
- dockerhub
clientconfig:
run_image: redislabs/memtier_benchmark:edge
tool: memtier_benchmark
arguments: -c 50 -t 4 --command="GEOPOS Sicily Palermo Catania" --hide-histogram --test-time 120
resources:
requests:
cpus: '4'
memory: 2g

priority: 138
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 0.4
name: memtier_benchmark-1key-geo-2-elements-geosearch-fromlonlat-withcoord
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.'
dbconfig:
configuration-parameters:
save: '""'
check:
keyspacelen: 1
resources:
requests:
memory: 1g
init_commands:
- '"GEOADD" "Sicily" "13.361389" "38.115556" "Palermo" "15.087269" "37.502669" "Catania"'
- '"GEOADD" "Sicily" "12.758489" "38.788135" "edge1" "17.241510" "38.788135" "edge2"'
tested-groups:
- geo
tested-commands:
- geosearch
redis-topologies:
- oss-standalone
build-variants:
- gcc:8.5.0-amd64-debian-buster-default
- dockerhub
clientconfig:
run_image: redislabs/memtier_benchmark:edge
tool: memtier_benchmark
arguments: -c 50 -t 4 --command="GEOSEARCH Sicily FROMLONLAT 15 37 BYBOX 400 400 km ASC WITHCOORD WITHDIST" --hide-histogram --test-time 120
resources:
requests:
cpus: '4'
memory: 2g

priority: 138
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tested-groups:
- set
tested-commands:
- sadd
- sismember
redis-topologies:
- oss-standalone
build-variants:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tested-groups:
- set
tested-commands:
- sadd
- sismember
redis-topologies:
- oss-standalone
build-variants:
Expand Down

0 comments on commit c3293a3

Please sign in to comment.