Skip to content

Commit f47ca03

Browse files
[add] Increased number of benchmark commands to 5M min so that we run at least for >60secs (RedisJSON#383)
1 parent cf1f4d2 commit f47ca03

32 files changed

+32
-32
lines changed

tests/benchmarks/json_arrappend_geojson.yml

+1-1
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: 1000000
14+
- requests: 5000000
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_ResultSet.totalResultsAvailable_jsonsl-yahoo2_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET jsonsl-yahoo2 ResultSet.totalResultsAvailable'

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

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET jsonsl-1 [0]'

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

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET jsonsl-1 [7]'

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

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET jsonsl-1 [8].zero'

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

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET json-parser-0000 ["\"web-app\""].servlet[0]["\"servlet-name\""]'

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

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET json-parser-0000 ["\"web-app\""].servlet[0]'

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

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET json-parser-0000 ["\"web-app\""].servlet'

tests/benchmarks/json_get_array_of_docs[1]_pass_100_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET pass-100 array_of_docs[1]'

tests/benchmarks/json_get_array_of_docs[1]sclr_pass_100_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET pass-100 array_of_docs[1].sclr'

tests/benchmarks/json_get_array_of_docs_pass_100_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET pass-100 array_of_docs'

tests/benchmarks/json_get_fulldoc_json-parser-0000.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET json-parser-0000 .'

tests/benchmarks/json_get_fulldoc_jsonsl-1.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET jsonsl-1 .'

tests/benchmarks/json_get_fulldoc_jsonsl-yahoo2_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET jsonsl-yahoo2 .'

tests/benchmarks/json_get_fulldoc_jsonsl-yelp_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET jsonsl-yelp .'

tests/benchmarks/json_get_fulldoc_pass_100_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET pass-100 .'

tests/benchmarks/json_get_key_empty.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET key .'

tests/benchmarks/json_get_message.code_jsonsl-yelp_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET jsonsl-yelp message.code'

tests/benchmarks/json_get_sclr_pass_100_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET pass-100 sclr'

tests/benchmarks/json_get_sub_doc.sclr_pass_100_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET pass-100 sub_doc.sclr'

tests/benchmarks/json_get_sub_doc_pass_100_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET pass-100 sub_doc'

tests/benchmarks/json_numincrby_num_1.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.NUMINCRBY num . 1'

tests/benchmarks/json_nummultby_num_2.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.NUMMULTBY num . 2'

tests/benchmarks/json_set_ResultSet.totalResultsAvailable_1_jsonsl-yahoo2_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.GET jsonsl-yahoo2 ResultSet.totalResultsAvailable 1'

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

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.SET jsonsl-1 [0] "\"foo\""'

tests/benchmarks/json_set_[web-app].servlet[0][servlet-name]_bar_json-parser-0000.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.SET json-parser-0000 ["\"web-app\""].servlet[0]["\"servlet-name\""] ["\"bar\""]'

tests/benchmarks/json_set_fulldoc_pass_100_json.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ clientconfig:
99
- min-tool-version: "6.2.0"
1010
- parameters:
1111
- clients: 16
12-
- requests: 1000000
12+
- requests: 5000000
1313
- threads: 2
1414
- pipeline: 1
1515
- command: 'JSON.SET pass-100 . "{\"sclr\":0,\"str\":\"b\",\"sub_doc\":{\"sclr\":10,\"str\":\"c\",\"arr\":[1,2,3,{\"sclr\":20,\"str\":\"d\"}]},\"array_of_docs\":[-1,{\"sclr\":11,\"str\":\"e\",\"arr\":[4,5,6,{\"sclr\":21,\"str\":\"f\"}]},{\"sclr\":12,\"str\":\"g\",\"arr\":[7,8,9,{\"sclr\":22,\"str\":\"h\"}]},-2]}"'

tests/benchmarks/json_set_key_empty.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.SET key . {}'

tests/benchmarks/json_set_message.code_1_jsonsl-yelp_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.SET jsonsl-yelp message.code 1'

tests/benchmarks/json_set_num_0.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.SET num . 0'

tests/benchmarks/json_set_sclr_1_pass_100_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.SET pass-100 sclr 1'

tests/benchmarks/json_set_sclr_pass_100_json.yml

+1-1
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: 1000000
14+
- requests: 5000000
1515
- threads: 2
1616
- pipeline: 1
1717
- command: 'JSON.SET pass-100 sclr 1'

0 commit comments

Comments
 (0)