redis-benchmarks-specification 0.1.323__py3-none-any.whl → 0.1.324__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of redis-benchmarks-specification might be problematic. Click here for more details.
- redis_benchmarks_specification/test-suites/memtier_benchmark-1Kkeys-hash-listpack-500-fields-update-20-fields-with-1B-to-64B-values.yml +75 -0
- {redis_benchmarks_specification-0.1.323.dist-info → redis_benchmarks_specification-0.1.324.dist-info}/METADATA +1 -1
- {redis_benchmarks_specification-0.1.323.dist-info → redis_benchmarks_specification-0.1.324.dist-info}/RECORD +6 -5
- {redis_benchmarks_specification-0.1.323.dist-info → redis_benchmarks_specification-0.1.324.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.323.dist-info → redis_benchmarks_specification-0.1.324.dist-info}/WHEEL +0 -0
- {redis_benchmarks_specification-0.1.323.dist-info → redis_benchmarks_specification-0.1.324.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
version: 0.4
|
|
2
|
+
name: memtier_benchmark-1Kkeys-hash-listpack-500-fields-update-20-fields-with-1B-to-64B-values
|
|
3
|
+
description: |
|
|
4
|
+
Runs memtier_benchmark to measure update performance on large Redis hashes stored as
|
|
5
|
+
listpacks. The dataset is preloaded with 1,000 keys (`test_hash:<id>`), each containing
|
|
6
|
+
500 field–value pairs, where values are small strings ranging from 1 to 64 bytes.
|
|
7
|
+
|
|
8
|
+
The benchmark focuses on multi-field `HSET` updates, where each operation updates 20
|
|
9
|
+
fields in the same hash. This workload stresses Redis's listpack encoding for hashes,
|
|
10
|
+
particularly when performing batched updates inside already large hashes.
|
|
11
|
+
|
|
12
|
+
Since each key already contains 500 fields, the test highlights the cost of inserting
|
|
13
|
+
into dense listpacks, memory reallocation behavior, and the effectiveness of Redis's
|
|
14
|
+
multi-element insertion optimizations
|
|
15
|
+
|
|
16
|
+
dbconfig:
|
|
17
|
+
configuration-parameters:
|
|
18
|
+
save: '""'
|
|
19
|
+
resources:
|
|
20
|
+
requests:
|
|
21
|
+
memory: 1g
|
|
22
|
+
init_lua: |
|
|
23
|
+
local total_keys = 1000
|
|
24
|
+
local total_fields = 500
|
|
25
|
+
local batch_size = 100 -- number of arguments per HSET call (field + value count)
|
|
26
|
+
for k = 1, total_keys do
|
|
27
|
+
local key = "test_hash:" .. k
|
|
28
|
+
redis.call("DEL", key)
|
|
29
|
+
local field_num = 1
|
|
30
|
+
while field_num <= total_fields do
|
|
31
|
+
local args = {key}
|
|
32
|
+
for j = 1, batch_size, 2 do
|
|
33
|
+
if field_num > total_fields then break end
|
|
34
|
+
table.insert(args, "f" .. field_num)
|
|
35
|
+
table.insert(args, "v" .. field_num)
|
|
36
|
+
field_num = field_num + 1
|
|
37
|
+
end
|
|
38
|
+
redis.call("HSET", unpack(args))
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
return "OK"
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
tested-groups:
|
|
45
|
+
- hash
|
|
46
|
+
|
|
47
|
+
tested-commands:
|
|
48
|
+
- hset
|
|
49
|
+
|
|
50
|
+
redis-topologies:
|
|
51
|
+
- oss-standalone
|
|
52
|
+
|
|
53
|
+
build-variants:
|
|
54
|
+
- gcc:15.2.0-amd64-debian-bookworm-default
|
|
55
|
+
- gcc:15.2.0-arm64-debian-bookworm-default
|
|
56
|
+
- dockerhub
|
|
57
|
+
|
|
58
|
+
clientconfig:
|
|
59
|
+
run_image: redislabs/memtier_benchmark:edge
|
|
60
|
+
tool: memtier_benchmark
|
|
61
|
+
arguments: >
|
|
62
|
+
--key-prefix "test_hash:"
|
|
63
|
+
--key-minimum 1
|
|
64
|
+
--key-maximum 1000
|
|
65
|
+
--data-size-range=1-64
|
|
66
|
+
--pipeline=1
|
|
67
|
+
--test-time=120
|
|
68
|
+
--command='HSET __key__ HSET test_hash f1 __data__ f2 __data__ f3 __data__ f4 __data__ f5 __data__ f6 __data__ f7 __data__ f8 __data__ f9 __data__ f10 __data__ f11 __data__ f12 __data__ f13 __data__ f14 __data__ f15 __data__ f16 __data__ f17 __data__ f18 __data__ f19 __data__ f20 __data__'
|
|
69
|
+
--hide-histogram
|
|
70
|
+
resources:
|
|
71
|
+
requests:
|
|
72
|
+
cpus: '4'
|
|
73
|
+
memory: 2g
|
|
74
|
+
|
|
75
|
+
priority: 150
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.324
|
|
4
4
|
Summary: The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute.
|
|
5
5
|
Author: filipecosta90
|
|
6
6
|
Author-email: filipecosta.90@gmail.com
|
|
@@ -66,6 +66,7 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-10Mkeys-load-hash-5
|
|
|
66
66
|
redis_benchmarks_specification/test-suites/memtier_benchmark-10Mkeys-load-hash-5-fields-with-10B-values-pipeline-10.yml,sha256=Uw54Of2rgpVleRVdKegMddfABYzFJHjNIhkqogfTBXU,1000
|
|
67
67
|
redis_benchmarks_specification/test-suites/memtier_benchmark-10Mkeys-load-hash-5-fields-with-10B-values.yml,sha256=B-_5Jf3rD8emmZRoKiwxmwgucANpCw4uuts4u8GxoQ0,966
|
|
68
68
|
redis_benchmarks_specification/test-suites/memtier_benchmark-10Mkeys-string-get-10B-pipeline-100-nokeyprefix.yml,sha256=r2TcEUPqry9UTtRgB5Oevfh6uPJunM52IDLCTCNwD6M,1268
|
|
69
|
+
redis_benchmarks_specification/test-suites/memtier_benchmark-1Kkeys-hash-listpack-500-fields-update-20-fields-with-1B-to-64B-values.yml,sha256=MNvXg-CTghbaGAoHmJZbR8BPL2S67bAkHSyR-KyHsHM,2434
|
|
69
70
|
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-100B-expire-use-case.yml,sha256=gGYr-olsucZArDZICL8XMfauUoAJMDxEu97KS2VV6YI,1564
|
|
70
71
|
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-10B-expire-use-case.yml,sha256=z31tWYEtOvsuwgY1ZJTGb5oJ_LRel6LjjtiyahTDayU,1582
|
|
71
72
|
redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-10B-psetex-expire-use-case.yml,sha256=EnIwwMR82wEndvtWBPKZbW2Volk1k7fBbcpThcTeR98,1357
|
|
@@ -279,8 +280,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-st
|
|
|
279
280
|
redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-storage-1k-sessions.yml,sha256=2egtIxPxCze2jlbAfgsk4v9JSQHNMoPLbDWFEW8olDg,7006
|
|
280
281
|
redis_benchmarks_specification/test-suites/template.txt,sha256=ezqGiRPOvuSDO0iG7GEf-AGXNfHbgXI89_G0RUEzL88,481
|
|
281
282
|
redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=PD7ow-k4Ll2BkhEC3aIqiaCZt8Hc4aJIp96Lw3J3mcI,791
|
|
282
|
-
redis_benchmarks_specification-0.1.
|
|
283
|
-
redis_benchmarks_specification-0.1.
|
|
284
|
-
redis_benchmarks_specification-0.1.
|
|
285
|
-
redis_benchmarks_specification-0.1.
|
|
286
|
-
redis_benchmarks_specification-0.1.
|
|
283
|
+
redis_benchmarks_specification-0.1.324.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
284
|
+
redis_benchmarks_specification-0.1.324.dist-info/METADATA,sha256=8hSnydlFQdGO5MYYEIntsyCXCRmf1PKGfUkguZ2G2vc,22726
|
|
285
|
+
redis_benchmarks_specification-0.1.324.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
286
|
+
redis_benchmarks_specification-0.1.324.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
287
|
+
redis_benchmarks_specification-0.1.324.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|