redis-benchmarks-specification 0.1.304__py3-none-any.whl → 0.1.306__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/__runner__/runner.py +13 -4
- redis_benchmarks_specification/__self_contained_coordinator__/runners.py +6 -2
- redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py +4 -1
- {redis_benchmarks_specification-0.1.304.dist-info → redis_benchmarks_specification-0.1.306.dist-info}/METADATA +1 -1
- {redis_benchmarks_specification-0.1.304.dist-info → redis_benchmarks_specification-0.1.306.dist-info}/RECORD +8 -8
- {redis_benchmarks_specification-0.1.304.dist-info → redis_benchmarks_specification-0.1.306.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.304.dist-info → redis_benchmarks_specification-0.1.306.dist-info}/WHEEL +0 -0
- {redis_benchmarks_specification-0.1.304.dist-info → redis_benchmarks_specification-0.1.306.dist-info}/entry_points.txt +0 -0
|
@@ -1494,8 +1494,12 @@ def process_self_contained_coordinator_stream(
|
|
|
1494
1494
|
|
|
1495
1495
|
redis_pids = []
|
|
1496
1496
|
for conn in redis_conns:
|
|
1497
|
-
|
|
1498
|
-
|
|
1497
|
+
redis_info = conn.info()
|
|
1498
|
+
redis_pid = redis_info.get("process_id")
|
|
1499
|
+
if redis_pid is not None:
|
|
1500
|
+
redis_pids.append(redis_pid)
|
|
1501
|
+
else:
|
|
1502
|
+
logging.warning("Redis process_id not found in INFO command, skipping PID collection for this connection")
|
|
1499
1503
|
|
|
1500
1504
|
# Check if all tested commands are supported by this Redis instance
|
|
1501
1505
|
supported_commands = get_supported_redis_commands(redis_conns)
|
|
@@ -3010,6 +3014,11 @@ def get_supported_redis_commands(redis_conns):
|
|
|
3010
3014
|
f"Retrieved {len(supported_commands)} supported Redis commands"
|
|
3011
3015
|
)
|
|
3012
3016
|
|
|
3017
|
+
# Handle case where COMMAND returns 0 commands (likely not supported)
|
|
3018
|
+
if len(supported_commands) == 0:
|
|
3019
|
+
logging.warning("COMMAND returned 0 commands - likely not supported by this Redis instance")
|
|
3020
|
+
return None
|
|
3021
|
+
|
|
3013
3022
|
# Log some sample commands for debugging
|
|
3014
3023
|
if supported_commands:
|
|
3015
3024
|
sample_commands = sorted(list(supported_commands))[:10]
|
|
@@ -3032,8 +3041,8 @@ def get_supported_redis_commands(redis_conns):
|
|
|
3032
3041
|
|
|
3033
3042
|
def check_test_command_support(benchmark_config, supported_commands):
|
|
3034
3043
|
"""Check if all tested-commands in the benchmark config are supported"""
|
|
3035
|
-
if supported_commands is None:
|
|
3036
|
-
logging.warning("No supported commands list available, skipping command check")
|
|
3044
|
+
if supported_commands is None or len(supported_commands) == 0:
|
|
3045
|
+
logging.warning("No supported commands list available (COMMAND not supported or returned 0 commands), skipping command check")
|
|
3037
3046
|
return True, []
|
|
3038
3047
|
|
|
3039
3048
|
if "tested-commands" not in benchmark_config:
|
|
@@ -310,8 +310,12 @@ def process_self_contained_coordinator_stream(
|
|
|
310
310
|
r = redis.StrictRedis(port=redis_proc_start_port)
|
|
311
311
|
r.ping()
|
|
312
312
|
redis_pids = []
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
redis_info = r.info()
|
|
314
|
+
first_redis_pid = redis_info.get("process_id")
|
|
315
|
+
if first_redis_pid is not None:
|
|
316
|
+
redis_pids.append(first_redis_pid)
|
|
317
|
+
else:
|
|
318
|
+
logging.warning("Redis process_id not found in INFO command")
|
|
315
319
|
ceil_client_cpu_limit = extract_client_cpu_limit(
|
|
316
320
|
benchmark_config
|
|
317
321
|
)
|
|
@@ -882,7 +882,10 @@ def process_self_contained_coordinator_stream(
|
|
|
882
882
|
reset_commandstats(redis_conns)
|
|
883
883
|
redis_pids = []
|
|
884
884
|
redis_info = r.info()
|
|
885
|
-
first_redis_pid = redis_info
|
|
885
|
+
first_redis_pid = redis_info.get("process_id")
|
|
886
|
+
if first_redis_pid is None:
|
|
887
|
+
logging.warning("Redis process_id not found in INFO command")
|
|
888
|
+
first_redis_pid = "unknown"
|
|
886
889
|
if git_hash is None and "redis_git_sha1" in redis_info:
|
|
887
890
|
git_hash = redis_info["redis_git_sha1"]
|
|
888
891
|
if (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.306
|
|
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
|
|
@@ -25,7 +25,7 @@ redis_benchmarks_specification/__init__.py,sha256=YQIEx2sLPPA0JR9OuCuMNMNtm-f_gq
|
|
|
25
25
|
redis_benchmarks_specification/__runner__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
26
26
|
redis_benchmarks_specification/__runner__/args.py,sha256=YeN7-eOGoqCHKh5FrKz9z5Ee-Rh-3DF9tm2Hb-3m7sQ,10648
|
|
27
27
|
redis_benchmarks_specification/__runner__/remote_profiling.py,sha256=JS46mFxnRB2HSU_HO90WE4w7P7usHzX1dwZg1bJpTMc,18588
|
|
28
|
-
redis_benchmarks_specification/__runner__/runner.py,sha256=
|
|
28
|
+
redis_benchmarks_specification/__runner__/runner.py,sha256=96v6WV1XLtAYd-5d04JYMgUIP4psBPJuniVuOOTXW7s,139649
|
|
29
29
|
redis_benchmarks_specification/__self_contained_coordinator__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
30
30
|
redis_benchmarks_specification/__self_contained_coordinator__/args.py,sha256=uxBjdQ78klvsVi6lOfGYQVaWIxc8OI-DwYKY16SgvCY,5952
|
|
31
31
|
redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha256=OVHqJzDgeSSRfUSiKp1ZTAVv14PvSbk-5yJsAAoUfpw,936
|
|
@@ -35,8 +35,8 @@ redis_benchmarks_specification/__self_contained_coordinator__/cpuset.py,sha256=s
|
|
|
35
35
|
redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=Alf9Y1dfuOMoD4u_Dv3jTodkwZfSrlo2_YceevaWNFo,2757
|
|
36
36
|
redis_benchmarks_specification/__self_contained_coordinator__/post_processing.py,sha256=sVLKNnWdAqYY9DjVdqRC5tDaIrVSaI3Ca7w8-DQ-LRM,776
|
|
37
37
|
redis_benchmarks_specification/__self_contained_coordinator__/prepopulation.py,sha256=qB1rwqkROfuyFotB7MfUQiYS4Gzafd8dd2ca7lT4l2I,2909
|
|
38
|
-
redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=
|
|
39
|
-
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=
|
|
38
|
+
redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=mEEekNdzqHsR9qA8P-SOxein3x3LJDE-TGXiF-bI8oU,29644
|
|
39
|
+
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=rK6MWqJQocaQffCUfpE50wDv1_iSJ6sRl74-JBSLYFM,79000
|
|
40
40
|
redis_benchmarks_specification/__setups__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
41
|
redis_benchmarks_specification/__setups__/topologies.py,sha256=xQ1IJkcTji_ZjLiJd3vOxZpvbNtBLZw9cPkw5hGJKHU,481
|
|
42
42
|
redis_benchmarks_specification/__spec__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
@@ -274,8 +274,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-server-time-
|
|
|
274
274
|
redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-storage.yml,sha256=Q5JKvADD1R71hyRx4Qsz5dxHHlYICHqWHD7XTAmX72M,6936
|
|
275
275
|
redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
|
|
276
276
|
redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=PD7ow-k4Ll2BkhEC3aIqiaCZt8Hc4aJIp96Lw3J3mcI,791
|
|
277
|
-
redis_benchmarks_specification-0.1.
|
|
278
|
-
redis_benchmarks_specification-0.1.
|
|
279
|
-
redis_benchmarks_specification-0.1.
|
|
280
|
-
redis_benchmarks_specification-0.1.
|
|
281
|
-
redis_benchmarks_specification-0.1.
|
|
277
|
+
redis_benchmarks_specification-0.1.306.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
278
|
+
redis_benchmarks_specification-0.1.306.dist-info/METADATA,sha256=YXGMeLns9PKM1pTM2AQu_jE5ccwTGApGBMr4Ss-OPJQ,22726
|
|
279
|
+
redis_benchmarks_specification-0.1.306.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
280
|
+
redis_benchmarks_specification-0.1.306.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
281
|
+
redis_benchmarks_specification-0.1.306.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|