redis-benchmarks-specification 0.1.287__py3-none-any.whl → 0.1.289__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(
@@ -234,3 +235,19 @@ def exporter_datasink_common(
234
235
  {"metric-type": "commandstats"},
235
236
  expire_redis_metrics_ms,
236
237
  )
238
+
239
+ # Update deployment tracking sets
240
+ deployment_type_and_name = f"{setup_type}_AND_{setup_name}"
241
+ deployment_type_and_name_and_version = f"{setup_type}_AND_{setup_name}_AND_{git_version}"
242
+
243
+ # Add to deployment-specific set
244
+ deployment_set_key = f"ci.benchmarks.redislabs/{tf_triggering_env}/{deployment_type_and_name_and_version}:set"
245
+ datasink_conn.sadd(deployment_set_key, test_name)
246
+
247
+ # Add to testcases set
248
+ testcases_set_key = f"ci.benchmarks.redislabs/{tf_triggering_env}/testcases:set"
249
+ datasink_conn.sadd(testcases_set_key, test_name)
250
+
251
+ # Add metadata fields to timeseries metadata
252
+ metadata["deployment_type_AND_deployment_name"] = deployment_type_and_name
253
+ metadata["deployment_type_AND_deployment_name_AND_version"] = deployment_type_and_name_and_version
@@ -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:
@@ -1919,11 +1919,6 @@ def process_self_contained_coordinator_stream(
1919
1919
  "end of benchmark",
1920
1920
  used_memory_check_fail,
1921
1921
  )
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
1922
  datapoint_time_ms = start_time_ms
1928
1923
 
1929
1924
  post_process_benchmark_results(
@@ -2052,6 +2047,11 @@ def process_self_contained_coordinator_stream(
2052
2047
  test_result = True
2053
2048
  total_test_suite_runs = total_test_suite_runs + 1
2054
2049
 
2050
+ if args.flushall_on_every_test_end:
2051
+ logging.info("Sending FLUSHALL to the DB")
2052
+ for r in redis_conns:
2053
+ r.flushall()
2054
+
2055
2055
  except:
2056
2056
  logging.critical(
2057
2057
  "Some unexpected exception was caught "
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.287
3
+ Version: 0.1.289
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=2IpMl0IEHi2IZvfLc4_h0e-E3ZfnlB8EkCA_SE8VDCY,7033
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
26
  redis_benchmarks_specification/__runner__/args.py,sha256=c27mVLLKJ6y_BHsPk_zmejAjavCPAGCwP71kX1a5R0w,10223
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=k9gM2oQNFQ21PvXXo74mgjrXPbPsA8O-Tg3IihSlRmc,106009
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.287.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
277
- redis_benchmarks_specification-0.1.287.dist-info/METADATA,sha256=xPa5B-D8pYHWwuZf1YdznmGmAH1h_uT03FEz6oQylfE,22726
278
- redis_benchmarks_specification-0.1.287.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
279
- redis_benchmarks_specification-0.1.287.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
280
- redis_benchmarks_specification-0.1.287.dist-info/RECORD,,
276
+ redis_benchmarks_specification-0.1.289.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
277
+ redis_benchmarks_specification-0.1.289.dist-info/METADATA,sha256=n8v_qaQHZa0PqTmfbuQUdd-S5xMxvB9UaP8zQKIJjo4,22726
278
+ redis_benchmarks_specification-0.1.289.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
279
+ redis_benchmarks_specification-0.1.289.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
280
+ redis_benchmarks_specification-0.1.289.dist-info/RECORD,,