redis-benchmarks-specification 0.1.330__py3-none-any.whl → 0.1.332__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/__self_contained_coordinator__/self_contained_coordinator.py +33 -22
- {redis_benchmarks_specification-0.1.330.dist-info → redis_benchmarks_specification-0.1.332.dist-info}/METADATA +1 -1
- {redis_benchmarks_specification-0.1.330.dist-info → redis_benchmarks_specification-0.1.332.dist-info}/RECORD +6 -6
- {redis_benchmarks_specification-0.1.330.dist-info → redis_benchmarks_specification-0.1.332.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.330.dist-info → redis_benchmarks_specification-0.1.332.dist-info}/WHEEL +0 -0
- {redis_benchmarks_specification-0.1.330.dist-info → redis_benchmarks_specification-0.1.332.dist-info}/entry_points.txt +0 -0
|
@@ -361,23 +361,7 @@ def main():
|
|
|
361
361
|
)
|
|
362
362
|
args = parser.parse_args()
|
|
363
363
|
|
|
364
|
-
#
|
|
365
|
-
_exclusive_hardware = args.exclusive_hardware
|
|
366
|
-
if _exclusive_hardware:
|
|
367
|
-
logging.info("Exclusive hardware mode enabled")
|
|
368
|
-
|
|
369
|
-
# Set HTTP authentication credentials and start server only if credentials are provided
|
|
370
|
-
_http_auth_username = args.http_auth_username
|
|
371
|
-
_http_auth_password = args.http_auth_password
|
|
372
|
-
|
|
373
|
-
if _http_auth_username and _http_auth_password:
|
|
374
|
-
logging.info(
|
|
375
|
-
"Starting HTTP server with authentication on port {}".format(args.http_port)
|
|
376
|
-
)
|
|
377
|
-
start_http_server(args.http_port)
|
|
378
|
-
else:
|
|
379
|
-
logging.info("HTTP server disabled - no authentication credentials provided")
|
|
380
|
-
|
|
364
|
+
# Configure logging first, before any logging calls
|
|
381
365
|
if args.logname is not None:
|
|
382
366
|
print("Writting log to {}".format(args.logname))
|
|
383
367
|
logging.basicConfig(
|
|
@@ -394,6 +378,23 @@ def main():
|
|
|
394
378
|
level=LOG_LEVEL,
|
|
395
379
|
datefmt=LOG_DATEFMT,
|
|
396
380
|
)
|
|
381
|
+
|
|
382
|
+
# Set global exclusive hardware flag
|
|
383
|
+
_exclusive_hardware = args.exclusive_hardware
|
|
384
|
+
if _exclusive_hardware:
|
|
385
|
+
logging.info("Exclusive hardware mode enabled")
|
|
386
|
+
|
|
387
|
+
# Set HTTP authentication credentials and start server only if credentials are provided
|
|
388
|
+
_http_auth_username = args.http_auth_username
|
|
389
|
+
_http_auth_password = args.http_auth_password
|
|
390
|
+
|
|
391
|
+
if _http_auth_username and _http_auth_password:
|
|
392
|
+
logging.info(
|
|
393
|
+
"Starting HTTP server with authentication on port {}".format(args.http_port)
|
|
394
|
+
)
|
|
395
|
+
start_http_server(args.http_port)
|
|
396
|
+
else:
|
|
397
|
+
logging.info("HTTP server disabled - no authentication credentials provided")
|
|
397
398
|
logging.info(get_version_string(project_name, project_version))
|
|
398
399
|
topologies_folder = os.path.abspath(args.setups_folder + "/topologies")
|
|
399
400
|
logging.info("Using topologies folder dir {}".format(topologies_folder))
|
|
@@ -953,6 +954,12 @@ def process_self_contained_coordinator_stream(
|
|
|
953
954
|
command_regexp,
|
|
954
955
|
)
|
|
955
956
|
|
|
957
|
+
logging.info(f"Adding {len(filtered_test_files)} tests to pending test list")
|
|
958
|
+
|
|
959
|
+
# Use pipeline for efficient bulk operations
|
|
960
|
+
pipeline = github_event_conn.pipeline()
|
|
961
|
+
test_names_added = []
|
|
962
|
+
|
|
956
963
|
for test_file in filtered_test_files:
|
|
957
964
|
with open(test_file, "r") as stream:
|
|
958
965
|
(
|
|
@@ -960,14 +967,18 @@ def process_self_contained_coordinator_stream(
|
|
|
960
967
|
benchmark_config,
|
|
961
968
|
test_name,
|
|
962
969
|
) = get_final_benchmark_config(None, None, stream, "")
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
stream_test_list_pending, REDIS_BINS_EXPIRE_SECS
|
|
966
|
-
)
|
|
970
|
+
pipeline.lpush(stream_test_list_pending, test_name)
|
|
971
|
+
test_names_added.append(test_name)
|
|
967
972
|
logging.debug(
|
|
968
|
-
f"
|
|
973
|
+
f"Queued test named {test_name} for addition to pending test list"
|
|
969
974
|
)
|
|
970
975
|
|
|
976
|
+
# Set expiration and execute pipeline
|
|
977
|
+
pipeline.expire(stream_test_list_pending, REDIS_BINS_EXPIRE_SECS)
|
|
978
|
+
pipeline.execute()
|
|
979
|
+
|
|
980
|
+
logging.info(f"Successfully added {len(test_names_added)} tests to pending test list in key {stream_test_list_pending}")
|
|
981
|
+
|
|
971
982
|
pending_tests = len(filtered_test_files)
|
|
972
983
|
failed_tests = 0
|
|
973
984
|
benchmark_suite_start_datetime = datetime.datetime.utcnow()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.332
|
|
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
|
|
@@ -37,7 +37,7 @@ redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=0
|
|
|
37
37
|
redis_benchmarks_specification/__self_contained_coordinator__/post_processing.py,sha256=sVLKNnWdAqYY9DjVdqRC5tDaIrVSaI3Ca7w8-DQ-LRM,776
|
|
38
38
|
redis_benchmarks_specification/__self_contained_coordinator__/prepopulation.py,sha256=1UeFr2T1ZQBcHCSd4W1ZtaWgXyFPfjLyDi_DgDc1eTA,2957
|
|
39
39
|
redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=F11zO_ILnpmiVwTeCQnP5nDHQk3kNnajPftwKsbhlXE,30209
|
|
40
|
-
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=
|
|
40
|
+
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=3QOuaaNJ1HQl4Ld4ZtgweTu2P0Hu-l6cgp3GhGpU8rw,95332
|
|
41
41
|
redis_benchmarks_specification/__setups__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
42
|
redis_benchmarks_specification/__setups__/topologies.py,sha256=xQ1IJkcTji_ZjLiJd3vOxZpvbNtBLZw9cPkw5hGJKHU,481
|
|
43
43
|
redis_benchmarks_specification/__spec__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
@@ -282,8 +282,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-st
|
|
|
282
282
|
redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-storage-1k-sessions.yml,sha256=2egtIxPxCze2jlbAfgsk4v9JSQHNMoPLbDWFEW8olDg,7006
|
|
283
283
|
redis_benchmarks_specification/test-suites/template.txt,sha256=ezqGiRPOvuSDO0iG7GEf-AGXNfHbgXI89_G0RUEzL88,481
|
|
284
284
|
redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=PD7ow-k4Ll2BkhEC3aIqiaCZt8Hc4aJIp96Lw3J3mcI,791
|
|
285
|
-
redis_benchmarks_specification-0.1.
|
|
286
|
-
redis_benchmarks_specification-0.1.
|
|
287
|
-
redis_benchmarks_specification-0.1.
|
|
288
|
-
redis_benchmarks_specification-0.1.
|
|
289
|
-
redis_benchmarks_specification-0.1.
|
|
285
|
+
redis_benchmarks_specification-0.1.332.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
286
|
+
redis_benchmarks_specification-0.1.332.dist-info/METADATA,sha256=Y4eicJqinSR2jRYOPGMTUcn2sMXqW6XHhLJRDdDz4zc,22768
|
|
287
|
+
redis_benchmarks_specification-0.1.332.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
288
|
+
redis_benchmarks_specification-0.1.332.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
289
|
+
redis_benchmarks_specification-0.1.332.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|