Skip to content

Commit 225288d

Browse files
[add] Included hset vs json comparison benchmark use-cases (RedisJSON#377)
1 parent 55741d6 commit 225288d

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 0.2
2+
name: "json_vs_hashes_hset_key_simple"
3+
description: 'HSET key_hash field1 value1 field2 value2 || Use-case to compare against JSON.SET key_json . {"field1":"value1","field2":"value2"}'
4+
remote:
5+
- type: oss-standalone
6+
- setup: redisearch-m5d
7+
clientconfig:
8+
- tool: redis-benchmark
9+
- min-tool-version: "6.2.0"
10+
- parameters:
11+
- clients: 16
12+
- requests: 10000000
13+
- threads: 2
14+
- pipeline: 1
15+
- command: 'HSET key_hash field1 value1 field2 value2'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 0.2
2+
name: "json_vs_hashes_json.set_key_simple"
3+
description: 'JSON.SET key_json . {"field1":"value1","field2":"value2"} || Use-case to compare against HSET key_hash field1 value1 field2 value2'
4+
remote:
5+
- type: oss-standalone
6+
- setup: redisearch-m5d
7+
clientconfig:
8+
- tool: redis-benchmark
9+
- min-tool-version: "6.2.0"
10+
- parameters:
11+
- clients: 16
12+
- requests: 10000000
13+
- threads: 2
14+
- pipeline: 1
15+
- command: 'JSON.SET key_json . "{\"field1\":\"value1\",\"field2\":\"value2\"}"'

0 commit comments

Comments
 (0)