redisbench-admin 0.11.52__py3-none-any.whl → 0.11.53__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.
- redisbench_admin/run/aibench_run_inference_redisai_vision/aibench_run_inference_redisai_vision.py +2 -1
- redisbench_admin/run/common.py +23 -6
- redisbench_admin/run/ftsb/ftsb.py +2 -1
- redisbench_admin/run/tsbs_run_queries_redistimeseries/tsbs_run_queries_redistimeseries.py +2 -1
- {redisbench_admin-0.11.52.dist-info → redisbench_admin-0.11.53.dist-info}/METADATA +1 -1
- {redisbench_admin-0.11.52.dist-info → redisbench_admin-0.11.53.dist-info}/RECORD +9 -9
- {redisbench_admin-0.11.52.dist-info → redisbench_admin-0.11.53.dist-info}/LICENSE +0 -0
- {redisbench_admin-0.11.52.dist-info → redisbench_admin-0.11.53.dist-info}/WHEEL +0 -0
- {redisbench_admin-0.11.52.dist-info → redisbench_admin-0.11.53.dist-info}/entry_points.txt +0 -0
redisbench_admin/run/aibench_run_inference_redisai_vision/aibench_run_inference_redisai_vision.py
CHANGED
|
@@ -47,7 +47,8 @@ def extract_aibench_extra_links(benchmark_config, benchmark_tool):
|
|
|
47
47
|
)
|
|
48
48
|
queries_file_link = None
|
|
49
49
|
for entry in benchmark_config["clientconfig"]:
|
|
50
|
-
|
|
50
|
+
# Handle both dict and non-dict entries in the list
|
|
51
|
+
if isinstance(entry, dict) and "parameters" in entry:
|
|
51
52
|
for parameter in entry["parameters"]:
|
|
52
53
|
if "file" in parameter:
|
|
53
54
|
queries_file_link = parameter["file"]
|
redisbench_admin/run/common.py
CHANGED
|
@@ -404,9 +404,17 @@ def get_start_time_vars(start_time=None):
|
|
|
404
404
|
def check_dbconfig_tool_requirement(benchmark_config, dbconfig_keyname="dbconfig"):
|
|
405
405
|
required = False
|
|
406
406
|
if dbconfig_keyname in benchmark_config:
|
|
407
|
-
|
|
408
|
-
|
|
407
|
+
dbconfig = benchmark_config[dbconfig_keyname]
|
|
408
|
+
# Handle both dict and list formats
|
|
409
|
+
if isinstance(dbconfig, dict):
|
|
410
|
+
# New format: dbconfig is a dict
|
|
411
|
+
if "tool" in dbconfig:
|
|
409
412
|
required = True
|
|
413
|
+
elif isinstance(dbconfig, list):
|
|
414
|
+
# Old format: dbconfig is a list of dicts
|
|
415
|
+
for k in dbconfig:
|
|
416
|
+
if isinstance(k, dict) and "tool" in k:
|
|
417
|
+
required = True
|
|
410
418
|
return required
|
|
411
419
|
|
|
412
420
|
|
|
@@ -418,7 +426,8 @@ def check_dbconfig_keyspacelen_requirement(
|
|
|
418
426
|
if dbconfig_keyname in benchmark_config:
|
|
419
427
|
if type(benchmark_config[dbconfig_keyname]) == list:
|
|
420
428
|
for k in benchmark_config[dbconfig_keyname]:
|
|
421
|
-
|
|
429
|
+
# Handle both dict and non-dict entries in the list
|
|
430
|
+
if isinstance(k, dict) and "check" in k:
|
|
422
431
|
if "keyspacelen" in k["check"]:
|
|
423
432
|
required = True
|
|
424
433
|
keyspacelen = int(k["check"]["keyspacelen"])
|
|
@@ -436,9 +445,17 @@ def execute_init_commands(benchmark_config, r, dbconfig_keyname="dbconfig"):
|
|
|
436
445
|
cmds = None
|
|
437
446
|
res = 0
|
|
438
447
|
if dbconfig_keyname in benchmark_config:
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
448
|
+
dbconfig = benchmark_config[dbconfig_keyname]
|
|
449
|
+
# Handle both dict and list formats
|
|
450
|
+
if isinstance(dbconfig, dict):
|
|
451
|
+
# New format: dbconfig is a dict
|
|
452
|
+
if "init_commands" in dbconfig:
|
|
453
|
+
cmds = dbconfig["init_commands"]
|
|
454
|
+
elif isinstance(dbconfig, list):
|
|
455
|
+
# Old format: dbconfig is a list of dicts
|
|
456
|
+
for k in dbconfig:
|
|
457
|
+
if isinstance(k, dict) and "init_commands" in k:
|
|
458
|
+
cmds = k["init_commands"]
|
|
442
459
|
if cmds is not None:
|
|
443
460
|
for cmd in cmds:
|
|
444
461
|
is_array = False
|
|
@@ -68,7 +68,8 @@ def extract_ftsb_extra_links(
|
|
|
68
68
|
)
|
|
69
69
|
queries_file_link = None
|
|
70
70
|
for entry in benchmark_config[config_key]:
|
|
71
|
-
|
|
71
|
+
# Handle both dict and non-dict entries in the list
|
|
72
|
+
if isinstance(entry, dict) and "parameters" in entry:
|
|
72
73
|
for parameter in entry["parameters"]:
|
|
73
74
|
if "input" in parameter:
|
|
74
75
|
queries_file_link = parameter["input"]
|
|
@@ -70,7 +70,8 @@ def extract_remote_tool_extra_links(
|
|
|
70
70
|
)
|
|
71
71
|
queries_file_link = None
|
|
72
72
|
for entry in benchmark_config[config_key]:
|
|
73
|
-
|
|
73
|
+
# Handle both dict and non-dict entries in the list
|
|
74
|
+
if isinstance(entry, dict) and "parameters" in entry:
|
|
74
75
|
for parameter in entry["parameters"]:
|
|
75
76
|
if "file" in parameter:
|
|
76
77
|
queries_file_link = parameter["file"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redisbench-admin
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.53
|
|
4
4
|
Summary: Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... ).
|
|
5
5
|
Author: filipecosta90
|
|
6
6
|
Author-email: filipecosta.90@gmail.com
|
|
@@ -45,7 +45,7 @@ redisbench_admin/profilers/stackcollapse-perf.pl,sha256=XStXxBheOVjJYdo9Gha0rf5P
|
|
|
45
45
|
redisbench_admin/profilers/vtune.py,sha256=OMx5ABr5OtWeiqK0dTspdyeAfKlDEzhdXDKocDSa9xM,4618
|
|
46
46
|
redisbench_admin/run/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
47
47
|
redisbench_admin/run/aibench_run_inference_redisai_vision/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
48
|
-
redisbench_admin/run/aibench_run_inference_redisai_vision/aibench_run_inference_redisai_vision.py,sha256=
|
|
48
|
+
redisbench_admin/run/aibench_run_inference_redisai_vision/aibench_run_inference_redisai_vision.py,sha256=03GDbZZSo21f9iBTcNTdBKQAfq_Ghd0zxr-KYe1QIMU,1917
|
|
49
49
|
redisbench_admin/run/ann/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
50
50
|
redisbench_admin/run/ann/ann.py,sha256=h8VE7fouyNkpMSjNhgjkI_R-aWb-lKIKxvNZPOO8pFY,1288
|
|
51
51
|
redisbench_admin/run/ann/pkg/.dockerignore,sha256=yn3THXBWZ1jBDf0_NJL-fy0M-mMx5APjSIfui_kuUNQ,13
|
|
@@ -176,9 +176,9 @@ redisbench_admin/run/ann/pkg/test/test-jaccard.py,sha256=oIhaQCQKrQokwv3fvgLSwPl
|
|
|
176
176
|
redisbench_admin/run/ann/pkg/test/test-metrics.py,sha256=vJdS8Kuk8bAnpB65Uqb-9rUUI35XrHwaO3cNwKX5gxc,3057
|
|
177
177
|
redisbench_admin/run/args.py,sha256=4OJIj19fieEjvz7Xnk1rIjaa50R5Kv1IlyMyECHtj0Y,8219
|
|
178
178
|
redisbench_admin/run/cluster.py,sha256=_Y6a8Dbu1cJ7OxhgymKQSZcCmV8cZ3UpGEWL6b6O84Y,6363
|
|
179
|
-
redisbench_admin/run/common.py,sha256=
|
|
179
|
+
redisbench_admin/run/common.py,sha256=EagPTzgT3NgY1ZUg9lb5snhVGdumuxrD7-s2FloDakA,29236
|
|
180
180
|
redisbench_admin/run/ftsb/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
181
|
-
redisbench_admin/run/ftsb/ftsb.py,sha256=
|
|
181
|
+
redisbench_admin/run/ftsb/ftsb.py,sha256=MnviWzIxMPxAw__R1lQT6tTsH7nP7t5ejCXrALm2MUw,2580
|
|
182
182
|
redisbench_admin/run/git.py,sha256=6UYGcTN0MPzf4QDVoJnFkou0yZasLF6jLG7f0zoySq8,3064
|
|
183
183
|
redisbench_admin/run/grafana.py,sha256=iMDgMyJKinpZMTD43rZ1IcRGkadjFjCxaB48mYWkvG4,9421
|
|
184
184
|
redisbench_admin/run/memtier_benchmark/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
@@ -194,7 +194,7 @@ redisbench_admin/run/run.py,sha256=AwE4_qkejAXOcDVFmwHjVqYjqi1BFZKdGNrCKBHkAHI,6
|
|
|
194
194
|
redisbench_admin/run/s3.py,sha256=pXQXZ1rrwDCWeBegGR4aKzbKqWWwMrmqvIjFxEB3bh4,442
|
|
195
195
|
redisbench_admin/run/ssh.py,sha256=gRW6ROoTKlaxLKhS5tM-Ejjd6zk2iO1KN9dzBzw7GOk,2835
|
|
196
196
|
redisbench_admin/run/tsbs_run_queries_redistimeseries/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
197
|
-
redisbench_admin/run/tsbs_run_queries_redistimeseries/tsbs_run_queries_redistimeseries.py,sha256=
|
|
197
|
+
redisbench_admin/run/tsbs_run_queries_redistimeseries/tsbs_run_queries_redistimeseries.py,sha256=CfXcoLS25pEkhGtka82JwgDZVPV4w2lU_VhI-reH5h4,2514
|
|
198
198
|
redisbench_admin/run/ycsb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
199
199
|
redisbench_admin/run/ycsb/ycsb.py,sha256=cs5saVH7C4YpDvzhoa15PwEho59qTVR1E90v_FYjMVw,6873
|
|
200
200
|
redisbench_admin/run_async/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
@@ -235,8 +235,8 @@ redisbench_admin/utils/utils.py,sha256=XVSvo1_DdcYwk2jOxL3VPVPbnDnhGYt8ieYfANo6r
|
|
|
235
235
|
redisbench_admin/watchdog/__init__.py,sha256=cD7zfXt0VEmy0b7452HvcAxX_9kVj6Vm213yNdUHP20,95
|
|
236
236
|
redisbench_admin/watchdog/args.py,sha256=nKsG1G6ATOZlAMHMtT9u3kXxduKCbejSZ5x8oB_ynZ8,1312
|
|
237
237
|
redisbench_admin/watchdog/watchdog.py,sha256=0wWYge3x_OMxWrzazNhJif2NK4tKsI963HVZqjczRag,6189
|
|
238
|
-
redisbench_admin-0.11.
|
|
239
|
-
redisbench_admin-0.11.
|
|
240
|
-
redisbench_admin-0.11.
|
|
241
|
-
redisbench_admin-0.11.
|
|
242
|
-
redisbench_admin-0.11.
|
|
238
|
+
redisbench_admin-0.11.53.dist-info/LICENSE,sha256=AAMtfs82zOOvmG68vILivm6lxi2rcOlGObmA8jzxQvw,10768
|
|
239
|
+
redisbench_admin-0.11.53.dist-info/METADATA,sha256=iq1YAIae4VhPOdP0aFLlMFeNQhqhJcrGySUx-IzAz7U,5596
|
|
240
|
+
redisbench_admin-0.11.53.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
241
|
+
redisbench_admin-0.11.53.dist-info/entry_points.txt,sha256=UUawXk_AS-PlieKJ1QxPQXGsRLb6OW_F0MtmA1W0KE8,113
|
|
242
|
+
redisbench_admin-0.11.53.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|