redis-benchmarks-specification 0.1.203__py3-none-any.whl → 0.1.205__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/__common__/github.py +3 -1
- redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py +45 -8
- {redis_benchmarks_specification-0.1.203.dist-info → redis_benchmarks_specification-0.1.205.dist-info}/METADATA +1 -1
- {redis_benchmarks_specification-0.1.203.dist-info → redis_benchmarks_specification-0.1.205.dist-info}/RECORD +7 -7
- {redis_benchmarks_specification-0.1.203.dist-info → redis_benchmarks_specification-0.1.205.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.203.dist-info → redis_benchmarks_specification-0.1.205.dist-info}/WHEEL +0 -0
- {redis_benchmarks_specification-0.1.203.dist-info → redis_benchmarks_specification-0.1.205.dist-info}/entry_points.txt +0 -0
|
@@ -228,7 +228,9 @@ def check_benchmark_running_comment(comments):
|
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
def markdown_progress_bar(current, total, bar_length=40):
|
|
231
|
-
progress =
|
|
231
|
+
progress = 1.0
|
|
232
|
+
if total > 0:
|
|
233
|
+
progress = current / total
|
|
232
234
|
block = int(round(bar_length * progress))
|
|
233
235
|
bar = "#" * block + "-" * (bar_length - block)
|
|
234
236
|
percentage = round(progress * 100, 2)
|
|
@@ -537,6 +537,13 @@ def process_self_contained_coordinator_stream(
|
|
|
537
537
|
f"detected a regexp definition on the streamdata {test_regexp}"
|
|
538
538
|
)
|
|
539
539
|
|
|
540
|
+
command_groups_regexp = None
|
|
541
|
+
if b"tests_groups_regexp" in testDetails:
|
|
542
|
+
command_groups_regexp = testDetails[b"tests_groups_regexp"].decode()
|
|
543
|
+
logging.info(
|
|
544
|
+
f"detected a command groups regexp definition on the streamdata {command_groups_regexp}"
|
|
545
|
+
)
|
|
546
|
+
|
|
540
547
|
skip_test = False
|
|
541
548
|
if b"platform" in testDetails:
|
|
542
549
|
platform = testDetails[b"platform"]
|
|
@@ -591,6 +598,7 @@ def process_self_contained_coordinator_stream(
|
|
|
591
598
|
priority_upper_limit,
|
|
592
599
|
test_regexp,
|
|
593
600
|
testsuite_spec_files,
|
|
601
|
+
command_groups_regexp,
|
|
594
602
|
)
|
|
595
603
|
|
|
596
604
|
for test_file in filtered_test_files:
|
|
@@ -611,16 +619,16 @@ def process_self_contained_coordinator_stream(
|
|
|
611
619
|
pending_tests = len(filtered_test_files)
|
|
612
620
|
failed_tests = 0
|
|
613
621
|
benchmark_suite_start_datetime = datetime.datetime.utcnow()
|
|
614
|
-
comment_body = generate_benchmark_started_pr_comment(
|
|
615
|
-
stream_id,
|
|
616
|
-
pending_tests,
|
|
617
|
-
len(filtered_test_files),
|
|
618
|
-
failed_tests,
|
|
619
|
-
benchmark_suite_start_datetime,
|
|
620
|
-
0,
|
|
621
|
-
)
|
|
622
622
|
# update on github if needed
|
|
623
623
|
if is_actionable_pr:
|
|
624
|
+
comment_body = generate_benchmark_started_pr_comment(
|
|
625
|
+
stream_id,
|
|
626
|
+
pending_tests,
|
|
627
|
+
len(filtered_test_files),
|
|
628
|
+
failed_tests,
|
|
629
|
+
benchmark_suite_start_datetime,
|
|
630
|
+
0,
|
|
631
|
+
)
|
|
624
632
|
if contains_benchmark_run_comment:
|
|
625
633
|
update_comment_if_needed(
|
|
626
634
|
auto_approve_github,
|
|
@@ -1362,6 +1370,7 @@ def filter_test_files(
|
|
|
1362
1370
|
priority_upper_limit,
|
|
1363
1371
|
test_regexp,
|
|
1364
1372
|
testsuite_spec_files,
|
|
1373
|
+
command_groups_regexp=None,
|
|
1365
1374
|
):
|
|
1366
1375
|
filtered_test_files = []
|
|
1367
1376
|
for test_file in testsuite_spec_files:
|
|
@@ -1397,6 +1406,34 @@ def filter_test_files(
|
|
|
1397
1406
|
)
|
|
1398
1407
|
continue
|
|
1399
1408
|
|
|
1409
|
+
if command_groups_regexp is not None:
|
|
1410
|
+
logging.info(
|
|
1411
|
+
"Filtering all test command groups via a regular expression: {}".format(
|
|
1412
|
+
command_groups_regexp
|
|
1413
|
+
)
|
|
1414
|
+
)
|
|
1415
|
+
if "tested-groups" in benchmark_config:
|
|
1416
|
+
command_groups = benchmark_config["tested-groups"]
|
|
1417
|
+
logging.info(
|
|
1418
|
+
f"The file {test_file} (test name = {test_name}) contains the following groups: {command_groups}"
|
|
1419
|
+
)
|
|
1420
|
+
groups_regex_string = re.compile(command_groups_regexp)
|
|
1421
|
+
found = False
|
|
1422
|
+
for command_group in command_groups:
|
|
1423
|
+
match_obj = re.search(groups_regex_string, command_group)
|
|
1424
|
+
if match_obj is not None:
|
|
1425
|
+
found = True
|
|
1426
|
+
logging.info(f"found the command group {command_group}")
|
|
1427
|
+
if found is False:
|
|
1428
|
+
logging.info(
|
|
1429
|
+
f"Skipping {test_file} given the following groups: {command_groups} does not match command group regex {command_groups_regexp}"
|
|
1430
|
+
)
|
|
1431
|
+
continue
|
|
1432
|
+
else:
|
|
1433
|
+
logging.warning(
|
|
1434
|
+
f"The file {test_file} (test name = {test_name}) does not contain the property 'tested-groups'. Cannot filter based uppon groups..."
|
|
1435
|
+
)
|
|
1436
|
+
|
|
1400
1437
|
if "priority" in benchmark_config:
|
|
1401
1438
|
priority = benchmark_config["priority"]
|
|
1402
1439
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.205
|
|
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
|
|
@@ -13,7 +13,7 @@ redis_benchmarks_specification/__cli__/stats.py,sha256=wahzZRbpfokv8dQU8O4BH5JFr
|
|
|
13
13
|
redis_benchmarks_specification/__common__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
redis_benchmarks_specification/__common__/builder_schema.py,sha256=LW00BSz_LXa83wbgRFylOCyRMMH4-3YpWgYh2hevOFM,5693
|
|
15
15
|
redis_benchmarks_specification/__common__/env.py,sha256=l58AH5LC2jQcyPRJA4ue_4kMloOewcqnLvkLWfzph_A,3119
|
|
16
|
-
redis_benchmarks_specification/__common__/github.py,sha256=
|
|
16
|
+
redis_benchmarks_specification/__common__/github.py,sha256=DSSO88E4yeVjn1vWFFFoBelHm7QOhE8NoTjRJKJ5wiI,10486
|
|
17
17
|
redis_benchmarks_specification/__common__/package.py,sha256=4uVt1BAZ999LV2rZkq--Tk6otAVIf9YR3g3KGeUpiW4,834
|
|
18
18
|
redis_benchmarks_specification/__common__/runner.py,sha256=6x1L8UAo-gmxLMcsUU4FGQ5OLV08fqygDnoVZ1rVUVQ,6642
|
|
19
19
|
redis_benchmarks_specification/__common__/spec.py,sha256=3hvfAb7RuAsqB_PNEo_-iuOtgz1ZCWe3ouMwS5Mw54A,1002
|
|
@@ -33,7 +33,7 @@ redis_benchmarks_specification/__self_contained_coordinator__/cpuset.py,sha256=s
|
|
|
33
33
|
redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=iivxZ55vL2kVHHkqVbXY2ftvxvceqH_Zw079KLCv9N8,2507
|
|
34
34
|
redis_benchmarks_specification/__self_contained_coordinator__/prepopulation.py,sha256=ajhpzxsBy6tiHrO79gEIKQYxZR-Us6B4rC6NYg1EZjM,2875
|
|
35
35
|
redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=Ul8UoxvWRxCVWmyaCBadpLMDOVEoNSp-A9KMPtPmUwM,28483
|
|
36
|
-
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=
|
|
36
|
+
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=NSoRclHQHnD3LTaodJux0ViqC6NinGODTqmPgFir9LI,68660
|
|
37
37
|
redis_benchmarks_specification/__setups__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
redis_benchmarks_specification/__setups__/topologies.py,sha256=xQ1IJkcTji_ZjLiJd3vOxZpvbNtBLZw9cPkw5hGJKHU,481
|
|
39
39
|
redis_benchmarks_specification/__spec__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
@@ -150,8 +150,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-set-10-100-el
|
|
|
150
150
|
redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries-pipeline-10.yml,sha256=RSkNgV5SsjdkXhM0mifi2GlwIxtiHR8N3u-ieI23BoQ,1126
|
|
151
151
|
redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries.yml,sha256=w7-dOIU-eATHXCvJbSeih6Vt54oygtkXKskQdzCll3o,1100
|
|
152
152
|
redis_benchmarks_specification/test-suites/template.txt,sha256=qrci_94QV9bPUJe0cL8lsUaQmX5Woz-jT-pDF0629AE,423
|
|
153
|
-
redis_benchmarks_specification-0.1.
|
|
154
|
-
redis_benchmarks_specification-0.1.
|
|
155
|
-
redis_benchmarks_specification-0.1.
|
|
156
|
-
redis_benchmarks_specification-0.1.
|
|
157
|
-
redis_benchmarks_specification-0.1.
|
|
153
|
+
redis_benchmarks_specification-0.1.205.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
154
|
+
redis_benchmarks_specification-0.1.205.dist-info/METADATA,sha256=JhtHS-ItaTfb35U29fzrVrcrYSj96Smy--t75g8zOXo,22483
|
|
155
|
+
redis_benchmarks_specification-0.1.205.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
156
|
+
redis_benchmarks_specification-0.1.205.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
157
|
+
redis_benchmarks_specification-0.1.205.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|