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

@@ -196,6 +196,7 @@ def exporter_datasink_common(
196
196
  ]
197
197
  },
198
198
  )
199
+ print(overall_end_time_metrics)
199
200
  # 7 days from now
200
201
  expire_redis_metrics_ms = 7 * 24 * 60 * 60 * 1000
201
202
  export_redis_metrics(
@@ -1171,13 +1171,15 @@ def from_rts_to_regression_table(
1171
1171
  multi_value_comparison = check_multi_value_filter(comparison_str)
1172
1172
 
1173
1173
  filters_baseline = [
1174
- "{}={}".format(by_str_baseline, baseline_str),
1175
1174
  "metric={}".format(metric_name),
1176
1175
  "{}={}".format(test_filter, test_name),
1177
- "deployment_name={}".format(baseline_deployment_name),
1178
1176
  "github_repo={}".format(baseline_github_repo),
1179
1177
  "triggering_env={}".format(tf_triggering_env_baseline),
1180
1178
  ]
1179
+ if baseline_str != "":
1180
+ filters_baseline.append("{}={}".format(by_str_baseline, baseline_str))
1181
+ if baseline_deployment_name != "":
1182
+ filters_baseline.append("deployment_name={}".format(baseline_deployment_name))
1181
1183
  if baseline_github_org != "":
1182
1184
  filters_baseline.append(f"github_org={baseline_github_org}")
1183
1185
  if running_platform_baseline is not None:
@@ -1185,13 +1187,15 @@ def from_rts_to_regression_table(
1185
1187
  "running_platform={}".format(running_platform_baseline)
1186
1188
  )
1187
1189
  filters_comparison = [
1188
- "{}={}".format(by_str_comparison, comparison_str),
1189
1190
  "metric={}".format(metric_name),
1190
1191
  "{}={}".format(test_filter, test_name),
1191
- "deployment_name={}".format(comparison_deployment_name),
1192
1192
  "github_repo={}".format(comparison_github_repo),
1193
1193
  "triggering_env={}".format(tf_triggering_env_comparison),
1194
1194
  ]
1195
+ if comparison_str != "":
1196
+ filters_comparison.append("{}={}".format(by_str_comparison, comparison_str))
1197
+ if comparison_deployment_name != "":
1198
+ filters_comparison.append("deployment_name={}".format(comparison_deployment_name))
1195
1199
  if comparison_github_org != "":
1196
1200
  filters_comparison.append(f"github_org={comparison_github_org}")
1197
1201
  if "hash" not in by_str_baseline:
@@ -176,6 +176,12 @@ def create_client_runner_args(project_name):
176
176
  action="store_true",
177
177
  help="Run tests that contain a dbconfig with dataset",
178
178
  )
179
+ parser.add_argument(
180
+ "--skip-tests-without-dataset",
181
+ default=False,
182
+ action="store_true",
183
+ help="Skip tests that do not contain a dbconfig with dataset",
184
+ )
179
185
  parser.add_argument(
180
186
  "--client_aggregated_results_folder",
181
187
  type=str,
@@ -1086,6 +1086,7 @@ def process_self_contained_coordinator_stream(
1086
1086
  results_matrix = []
1087
1087
  total_test_suite_runs = 0
1088
1088
  dry_run_count = 0
1089
+ dry_run_tests = [] # Track test names for dry run output
1089
1090
  dry_run = args.dry_run
1090
1091
  dry_run_include_preload = args.dry_run_include_preload
1091
1092
  defaults_filename = args.defaults_filename
@@ -1421,8 +1422,24 @@ def process_self_contained_coordinator_stream(
1421
1422
  )
1422
1423
  continue
1423
1424
 
1425
+ # Check if we should skip tests without dataset
1426
+ has_dataset = "dataset" in benchmark_config.get("dbconfig", {})
1427
+ if args.skip_tests_without_dataset is True and not has_dataset:
1428
+ logging.warning(
1429
+ "Skipping test {} as it does not contain a dataset".format(
1430
+ test_name
1431
+ )
1432
+ )
1433
+ delete_temporary_files(
1434
+ temporary_dir_client=temporary_dir_client,
1435
+ full_result_path=None,
1436
+ benchmark_tool_global=benchmark_tool_global,
1437
+ )
1438
+ continue
1439
+
1424
1440
  if dry_run is True:
1425
1441
  dry_run_count = dry_run_count + 1
1442
+ dry_run_tests.append(test_name)
1426
1443
  delete_temporary_files(
1427
1444
  temporary_dir_client=temporary_dir_client,
1428
1445
  full_result_path=None,
@@ -1491,6 +1508,7 @@ def process_self_contained_coordinator_stream(
1491
1508
 
1492
1509
  if dry_run_include_preload is True:
1493
1510
  dry_run_count = dry_run_count + 1
1511
+ dry_run_tests.append(test_name)
1494
1512
  delete_temporary_files(
1495
1513
  temporary_dir_client=temporary_dir_client,
1496
1514
  full_result_path=None,
@@ -1919,11 +1937,6 @@ def process_self_contained_coordinator_stream(
1919
1937
  "end of benchmark",
1920
1938
  used_memory_check_fail,
1921
1939
  )
1922
-
1923
- if args.flushall_on_every_test_end:
1924
- logging.info("Sending FLUSHALL to the DB")
1925
- for r in redis_conns:
1926
- r.flushall()
1927
1940
  datapoint_time_ms = start_time_ms
1928
1941
 
1929
1942
  post_process_benchmark_results(
@@ -2052,6 +2065,11 @@ def process_self_contained_coordinator_stream(
2052
2065
  test_result = True
2053
2066
  total_test_suite_runs = total_test_suite_runs + 1
2054
2067
 
2068
+ if args.flushall_on_every_test_end:
2069
+ logging.info("Sending FLUSHALL to the DB")
2070
+ for r in redis_conns:
2071
+ r.flushall()
2072
+
2055
2073
  except:
2056
2074
  logging.critical(
2057
2075
  "Some unexpected exception was caught "
@@ -2134,6 +2152,10 @@ def process_self_contained_coordinator_stream(
2134
2152
  logging.info(
2135
2153
  "Number of tests that would have been run: {}".format(dry_run_count)
2136
2154
  )
2155
+ if dry_run_tests:
2156
+ logging.info("Tests that would be run:")
2157
+ final_test_regex = "|".join(dry_run_tests)
2158
+ logging.info(f"Final test regex: {final_test_regex}")
2137
2159
 
2138
2160
 
2139
2161
  def get_maxmemory(r):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.288
3
+ Version: 0.1.290
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
@@ -15,17 +15,17 @@ redis_benchmarks_specification/__common__/builder_schema.py,sha256=kfDpRIk7NkJrb
15
15
  redis_benchmarks_specification/__common__/env.py,sha256=kvJ8Ll-fvI_Tc0vynrzUEr22TqnJizzvJ4Lu9RjNr_M,3119
16
16
  redis_benchmarks_specification/__common__/github.py,sha256=9TZtnISsSgXTSAN_VQejo5YRPDPhlU0gjxgKGPw_sP8,10699
17
17
  redis_benchmarks_specification/__common__/package.py,sha256=4uVt1BAZ999LV2rZkq--Tk6otAVIf9YR3g3KGeUpiW4,834
18
- redis_benchmarks_specification/__common__/runner.py,sha256=8pUxEeAvrSQ4GI06tZZu7aPqGImYtBhZRuj4t3wkA-k,7835
18
+ redis_benchmarks_specification/__common__/runner.py,sha256=TT5c5vJSsg1RApUqbitSkvsyl4PQm2qnW48iu4LXJmo,7871
19
19
  redis_benchmarks_specification/__common__/spec.py,sha256=D_SN48wg6NMthW_-OS1H5bydSDiuZpfd4WPPj7Vfwmc,5760
20
20
  redis_benchmarks_specification/__common__/timeseries.py,sha256=dae3YF4cX2Css8i5VnOGxAk3DOu8tHfZt-Vy-uiWQDQ,52917
21
21
  redis_benchmarks_specification/__compare__/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
22
22
  redis_benchmarks_specification/__compare__/args.py,sha256=shER83ddBRBMAlbgxGXJ5H5XziKe-sP_Nyx7t5aLOo8,7650
23
- redis_benchmarks_specification/__compare__/compare.py,sha256=8mtvlwQRYR4c4oOji2qP_fOgtOQCKBL3caHplgTEB2M,62214
23
+ redis_benchmarks_specification/__compare__/compare.py,sha256=nymItbCO28KiAe3bVxYVObwbzpLmISAF_qyJ6b3KCPQ,62466
24
24
  redis_benchmarks_specification/__init__.py,sha256=YQIEx2sLPPA0JR9OuCuMNMNtm-f_gqDKgzvNJnkGNKY,491
25
25
  redis_benchmarks_specification/__runner__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
26
- redis_benchmarks_specification/__runner__/args.py,sha256=c27mVLLKJ6y_BHsPk_zmejAjavCPAGCwP71kX1a5R0w,10223
26
+ redis_benchmarks_specification/__runner__/args.py,sha256=C8cuU8fqgD5TZ9YDXPQ3BX63AwkMvxq_tcF9cbR9oXo,10417
27
27
  redis_benchmarks_specification/__runner__/remote_profiling.py,sha256=DNl4Wx4wHHcbmKrXFrS51gLVVBY-hftUB8awb_p9kY4,17887
28
- redis_benchmarks_specification/__runner__/runner.py,sha256=IOtuU0n6dgnFIiqu2Cb7-Hm2U5PDNM-M1cNXxxTcI7o,106009
28
+ redis_benchmarks_specification/__runner__/runner.py,sha256=ugH5roKaaSi5ugbjyegBe4DvvunfK_u61IqT0ErkiB4,107205
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
@@ -273,8 +273,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-pubsub-publi
273
273
  redis_benchmarks_specification/test-suites/memtier_benchmark-nokeys-server-time-pipeline-10.yml,sha256=rJuWWXubUeRKQ2GSfHlbPMLeOyM9Eu_MzvN2vgKcAhA,672
274
274
  redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
275
275
  redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=uhaSP6YUVmPvZU-qMtPPGdvNEUgUBqOfveUbeJ9WsbI,972
276
- redis_benchmarks_specification-0.1.288.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
277
- redis_benchmarks_specification-0.1.288.dist-info/METADATA,sha256=4i_rbvAXV396camS2o_igsmpA48UjpjwzZy7EDdTAto,22726
278
- redis_benchmarks_specification-0.1.288.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
279
- redis_benchmarks_specification-0.1.288.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
280
- redis_benchmarks_specification-0.1.288.dist-info/RECORD,,
276
+ redis_benchmarks_specification-0.1.290.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
277
+ redis_benchmarks_specification-0.1.290.dist-info/METADATA,sha256=WqJ8ucYj87IKA11YjQM55b6ouCfQfJyOcqNfs6Bxu3A,22726
278
+ redis_benchmarks_specification-0.1.290.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
279
+ redis_benchmarks_specification-0.1.290.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
280
+ redis_benchmarks_specification-0.1.290.dist-info/RECORD,,