Skip to content

Commit 77f559f

Browse files
Fixed benchmark specifications after RedisJSON#399 Use JsonPath $ as the outer level object (RedisJSON#404)
* [fix] Fixed benchmark specifications after RedisJSON#399 Use JsonPath $ as the outer level object * [fix] Reduced JSON.ARRAPPEND total requests to 1M to avoid very large run
1 parent b006075 commit 77f559f

11 files changed

+16
-16
lines changed

tests/benchmarks/json_arrappend_geojson.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ clientconfig:
1111
- min-tool-version: "6.2.0"
1212
- parameters:
1313
- clients: 16
14-
- requests: 5000000
14+
- requests: 1000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.ARRAPPEND path:sonde:foo $.properties.coordinateProperties "{\"type\": \"Feature\", \"geometry\": {\"type\": \"Point\", \"coordinates\": [26.2153, 60.34085, 417.0]}, \"properties\": {\"temp\": 3.6, \"serial\": \"S0730589\", \"humidity\": 64.6, \"vel_h\": 16.0, \"uploader_callsign\": \"Lahti 24h raspberry\", \"time\": 1617220020, \"uploader\": {\"callsign\": \"Lahti 24h raspberry\"}}}"'

tests/benchmarks/json_get_[0]_jsonsl-1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 0.2
22
name: "json_get_[0]_jsonsl-1"
3-
description: "JSON.GET jsonsl-1 $[0] || {jsonsl-1.json size: 1.4 KB} https://oss.redislabs.com/redisjson/performance/"
3+
description: "JSON.GET jsonsl-1 $.[0] || {jsonsl-1.json size: 1.4 KB} https://oss.redislabs.com/redisjson/performance/"
44
remote:
55
- type: oss-standalone
66
- setup: redisearch-m5d
@@ -14,4 +14,4 @@ clientconfig:
1414
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
17-
- command: 'JSON.GET jsonsl-1 $[0]'
17+
- command: 'JSON.GET jsonsl-1 $.[0]'

tests/benchmarks/json_get_[7]_jsonsl-1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 0.2
22
name: "json_get_[7]_jsonsl-1"
3-
description: "JSON.GET jsonsl-1 $[7] || {jsonsl-1.json size: 1.4 KB} https://oss.redislabs.com/redisjson/performance/"
3+
description: "JSON.GET jsonsl-1 $.[7] || {jsonsl-1.json size: 1.4 KB} https://oss.redislabs.com/redisjson/performance/"
44
remote:
55
- type: oss-standalone
66
- setup: redisearch-m5d
@@ -14,4 +14,4 @@ clientconfig:
1414
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
17-
- command: 'JSON.GET jsonsl-1 $[7]'
17+
- command: 'JSON.GET jsonsl-1 $.[7]'

tests/benchmarks/json_get_[8].zero_jsonsl-1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 0.2
22
name: "json_get_[8].zero_jsonsl-1"
3-
description: "JSON.GET jsonsl-1 $[8].0 || {jsonsl-1.json size: 1.4 KB} https://oss.redislabs.com/redisjson/performance/"
3+
description: "JSON.GET jsonsl-1 $.[8].0 || {jsonsl-1.json size: 1.4 KB} https://oss.redislabs.com/redisjson/performance/"
44
remote:
55
- type: oss-standalone
66
- setup: redisearch-m5d
@@ -14,4 +14,4 @@ clientconfig:
1414
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
17-
- command: 'JSON.GET jsonsl-1 $[8].zero'
17+
- command: 'JSON.GET jsonsl-1 $.[8].zero'

tests/benchmarks/json_get_[web-app].servlet[0][servlet-name]_json-parser-0000.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ clientconfig:
1414
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
17-
- command: 'JSON.GET json-parser-0000 $["\"web-app\""].servlet[0]["\"servlet-name\""]'
17+
- command: 'JSON.GET json-parser-0000 $.["\"web-app\""].servlet[0]["\"servlet-name\""]'

tests/benchmarks/json_get_[web-app].servlet[0]_json-parser-0000.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ clientconfig:
1414
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
17-
- command: 'JSON.GET json-parser-0000 $["\"web-app\""].servlet[0]'
17+
- command: 'JSON.GET json-parser-0000 $.["\"web-app\""].servlet[0]'

tests/benchmarks/json_get_[web-app].servlet_json-parser-0000.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ clientconfig:
1414
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
17-
- command: 'JSON.GET json-parser-0000 $["\"web-app\""].servlet'
17+
- command: 'JSON.GET json-parser-0000 $.["\"web-app\""].servlet'

tests/benchmarks/json_get_sub_doc.sclr_pass_100_json.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 0.2
22
name: "json_get_sub_doc.sclr_pass_100_json"
3-
description: "JSON.GET pass-100 $.array_of_docs || {Full document: pass-100.json 380B} https://oss.redislabs.com/redisjson/performance/"
3+
description: "JSON.GET pass-100 $.sub_doc.sclr || {Full document: pass-100.json 380B} https://oss.redislabs.com/redisjson/performance/"
44
remote:
55
- type: oss-standalone
66
- setup: redisearch-m5d

tests/benchmarks/json_set_ResultSet.totalResultsAvailable_1_jsonsl-yahoo2_json.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 0.2
22
name: "json_set_ResultSet.totalResultsAvailable_1_jsonsl-yahoo2_json"
3-
description: "JSON.GET jsonsl-yahoo2 $.ResultSet.totalResultsAvailable 1 || https://oss.redislabs.com/redisjson/performance/"
3+
description: "JSON.SET jsonsl-yahoo2 $.ResultSet.totalResultsAvailable 1 || https://oss.redislabs.com/redisjson/performance/"
44
remote:
55
- type: oss-standalone
66
- setup: redisearch-m5d

tests/benchmarks/json_set_[0]foo_jsonsl-1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 0.2
22
name: "json_set_[0]foo_jsonsl-1"
3-
description: "JSON.SET jsonsl-1 $[0] foo || {jsonsl-1.json size: 1.4 KB} https://oss.redislabs.com/redisjson/performance/"
3+
description: "JSON.SET jsonsl-1 $.[0] foo || {jsonsl-1.json size: 1.4 KB} https://oss.redislabs.com/redisjson/performance/"
44
remote:
55
- type: oss-standalone
66
- setup: redisearch-m5d
@@ -14,4 +14,4 @@ clientconfig:
1414
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
17-
- command: 'JSON.SET jsonsl-1 $[0] "\"foo\""'
17+
- command: 'JSON.SET jsonsl-1 $.[0] "\"foo\""'

0 commit comments

Comments
 (0)