redis-benchmarks-specification 0.2.25__py3-none-any.whl → 0.2.26__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.

@@ -3283,7 +3283,13 @@ def used_memory_check(
3283
3283
  ):
3284
3284
  used_memory = 0
3285
3285
  for conn in redis_conns:
3286
- used_memory = used_memory + conn.info("memory")["used_memory"]
3286
+ info_mem = conn.info("memory")
3287
+ if "used_memory" in info_mem:
3288
+ used_memory = used_memory + info_mem["used_memory"]
3289
+ else:
3290
+ logging.warning(
3291
+ "used_memory not present in Redis memory info. Cannot enforce memory checks."
3292
+ )
3287
3293
  used_memory_gb = int(math.ceil(float(used_memory) / 1024.0 / 1024.0 / 1024.0))
3288
3294
  logging.info("Benchmark used memory at {}: {}g".format(stage, used_memory_gb))
3289
3295
  if used_memory > benchmark_required_memory:
@@ -34,11 +34,11 @@ dbconfig:
34
34
  -- Use the same pairs for all keys
35
35
  for k = 1, 10000 do
36
36
  local key = tostring(k)
37
- local args = {'ZADD', key}
37
+ local args = {key}
38
38
  for i = 1, #score_member_pairs do
39
39
  table.insert(args, score_member_pairs[i])
40
40
  end
41
- redis.call(unpack(args))
41
+ redis.call('ZADD', unpack(args))
42
42
  end
43
43
 
44
44
  return 'OK'
@@ -1,7 +1,7 @@
1
1
  version: 0.4
2
2
  name: memtier_benchmark-playbook-leaderboard-top-100
3
3
  description: Runs memtier_benchmark, for a keyspace length of 10K keys loading/querying ZSETs. Esports/live events with constant score changes, occasional bursts of reads. writes ≈ 60, reads ≈ 40%.
4
- with encoding:listpack with 100 elements.
4
+ with encoding:skiplist with 100 elements.
5
5
 
6
6
  dbconfig:
7
7
  configuration-parameters:
@@ -34,11 +34,11 @@ dbconfig:
34
34
  -- Use the same pairs for all keys
35
35
  for k = 1, 10000 do
36
36
  local key = tostring(k)
37
- local args = {'ZADD', key}
37
+ local args = {key}
38
38
  for i = 1, #score_member_pairs do
39
39
  table.insert(args, score_member_pairs[i])
40
40
  end
41
- redis.call(unpack(args))
41
+ redis.call('ZADD', unpack(args))
42
42
  end
43
43
 
44
44
  return 'OK'
@@ -1,7 +1,7 @@
1
1
  version: 0.4
2
2
  name: memtier_benchmark-playbook-leaderboard-top-1000
3
3
  description: Runs memtier_benchmark, for a keyspace length of 10K keys loading/querying ZSETs. Esports/live events with constant score changes, occasional bursts of reads. writes ≈ 60, reads ≈ 40%.
4
- with encoding:listpack with 1000 elements.
4
+ with encoding:skiplist with 1000 elements.
5
5
 
6
6
  dbconfig:
7
7
  configuration-parameters:
@@ -34,11 +34,11 @@ dbconfig:
34
34
  -- Use the same pairs for all keys
35
35
  for k = 1, 10000 do
36
36
  local key = tostring(k)
37
- local args = {'ZADD', key}
37
+ local args = {key}
38
38
  for i = 1, #score_member_pairs do
39
39
  table.insert(args, score_member_pairs[i])
40
40
  end
41
- redis.call(unpack(args))
41
+ redis.call('ZADD', unpack(args))
42
42
  end
43
43
 
44
44
  return 'OK'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.2.25
3
+ Version: 0.2.26
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
  License-File: LICENSE
6
6
  Author: filipecosta90
@@ -26,7 +26,7 @@ redis_benchmarks_specification/__init__.py,sha256=YQIEx2sLPPA0JR9OuCuMNMNtm-f_gq
26
26
  redis_benchmarks_specification/__runner__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
27
27
  redis_benchmarks_specification/__runner__/args.py,sha256=K3VGmBC0-9lSv9H6VDp0N-6FGMWvc_4H0pG_TOXN5u8,11312
28
28
  redis_benchmarks_specification/__runner__/remote_profiling.py,sha256=R7obNQju8mmY9oKkcndjI4aAuxi84OCLhDSqqaYu1SU,18610
29
- redis_benchmarks_specification/__runner__/runner.py,sha256=lWIpjThVeYW1hxR2dl2OSIeAwUXrWVHKHfQqsD9mrF8,155505
29
+ redis_benchmarks_specification/__runner__/runner.py,sha256=GYfTOqkLI5CeXs9UJ7vp1Py4aacnXnO7TRKjCYWV5Xk,155726
30
30
  redis_benchmarks_specification/__self_contained_coordinator__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
31
31
  redis_benchmarks_specification/__self_contained_coordinator__/args.py,sha256=2nTD4g4V1NjMRjRuDvHaoub5sjcav0GCnxv2HFiXWKc,7329
32
32
  redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha256=OVHqJzDgeSSRfUSiKp1ZTAVv14PvSbk-5yJsAAoUfpw,936
@@ -278,9 +278,9 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-pubsub-mixed
278
278
  redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-pubsub-mixed-100-channels-128B-100-publishers-50K-subscribers-5k-conns.yml,sha256=ueeKp0NroAjt9dCmGIfMksndx1vWVIvNu7fkf8nS2H4,1190
279
279
  redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-pubsub-publish-1K-channels-10B-no-subscribers.yml,sha256=8M9AdpNaVBuSUm78cqKModOF_xITV_RM7RLCTyvtvaQ,825
280
280
  redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-server-time-pipeline-10.yml,sha256=zeTHtpbhNGfzTXHfr9P5e62PebxUONRvTsCbXJZhsTs,721
281
- redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-leaderboard-top-10.yml,sha256=CrfmL0pTRwU-E65UTrLlfL-4ndZWNDvmB5ongvoFsO8,2319
282
- redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-leaderboard-top-100.yml,sha256=I5pKICd2doVnHj7K5uBZKJuenOIKixF8u5-NJIGH2PQ,9488
283
- redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-leaderboard-top-1000.yml,sha256=bjdVwgiQY8Kt8FTtOMfmmCNc0BXPPBxm9pqhvww91UA,76785
281
+ redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-leaderboard-top-10.yml,sha256=HkDqWJCanVVk6ElqUDnY6tveDX4umcjivjsbHz5FnQ0,2319
282
+ redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-leaderboard-top-100.yml,sha256=76afE-sX21tTc84Zq-8iSra3SMbQG0Jb67eVxOOWuHM,9488
283
+ redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-leaderboard-top-1000.yml,sha256=82j3OuT-0_0HNVbGpd0sKxSRwBf1Fc1C-Yn4TT0s3zQ,76785
284
284
  redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-rate-limiting-lua-100k-sessions.yml,sha256=z2APnBAH_leRRYDQXjA-5gFwScNgKT4mVyBh5wLb3SU,1636
285
285
  redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-realtime-analytics-membership-pipeline-10.yml,sha256=uh0J81Y27_YnQfDqzaTpYtJNvIdRFJtYsBUmXGTBrl4,2842
286
286
  redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-realtime-analytics-membership.yml,sha256=y_q6GWbodKpVA48o1a1frqF0bU52utIOnjIjuiQt0qk,2816
@@ -291,8 +291,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-st
291
291
  redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-storage-1k-sessions.yml,sha256=2egtIxPxCze2jlbAfgsk4v9JSQHNMoPLbDWFEW8olDg,7006
292
292
  redis_benchmarks_specification/test-suites/template.txt,sha256=ezqGiRPOvuSDO0iG7GEf-AGXNfHbgXI89_G0RUEzL88,481
293
293
  redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=PD7ow-k4Ll2BkhEC3aIqiaCZt8Hc4aJIp96Lw3J3mcI,791
294
- redis_benchmarks_specification-0.2.25.dist-info/METADATA,sha256=SkhJyteW_mJIrquve2-H4Yr2zjjA0DP8yAxESaMZo9M,22891
295
- redis_benchmarks_specification-0.2.25.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
296
- redis_benchmarks_specification-0.2.25.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
297
- redis_benchmarks_specification-0.2.25.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
298
- redis_benchmarks_specification-0.2.25.dist-info/RECORD,,
294
+ redis_benchmarks_specification-0.2.26.dist-info/METADATA,sha256=LqEE3jzd5nqV2v_PzPHYL1xdxT3E-aWopuImdUBjQTM,22891
295
+ redis_benchmarks_specification-0.2.26.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
296
+ redis_benchmarks_specification-0.2.26.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
297
+ redis_benchmarks_specification-0.2.26.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
298
+ redis_benchmarks_specification-0.2.26.dist-info/RECORD,,