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

@@ -644,11 +644,11 @@ def generate_benchmark_stream_request(
644
644
  build_stream_fields["git_version"] = git_version
645
645
  if git_timestamp_ms is not None:
646
646
  build_stream_fields["git_timestamp_ms"] = git_timestamp_ms
647
+
648
+ prefix = f"github_org={github_org}/github_repo={github_repo}/git_branch={str(git_branch)}/git_version={str(git_version)}/git_hash={str(git_hash)}"
647
649
  for artifact in build_artifacts:
648
- bin_key = "zipped:artifacts:{}:{}.zip".format(id, artifact)
649
- bin_artifact = open(
650
- "{}src/{}".format(redis_temporary_dir, artifact), "rb"
651
- ).read()
650
+ bin_key = f"zipped:artifacts:{prefix}:{id}:{artifact}.zip"
651
+ bin_artifact = open(f"{redis_temporary_dir}src/{artifact}", "rb").read()
652
652
  bin_artifact_len = len(bytes(bin_artifact))
653
653
  assert bin_artifact_len > 0
654
654
  conn.set(bin_key, bytes(bin_artifact), ex=REDIS_BINS_EXPIRE_SECS)
@@ -44,6 +44,8 @@ def create_compare_arguments(parser):
44
44
  )
45
45
  parser.add_argument("--github_repo", type=str, default="redis")
46
46
  parser.add_argument("--github_org", type=str, default="redis")
47
+ parser.add_argument("--baseline_github_org", type=str, default="")
48
+ parser.add_argument("--comparison_github_org", type=str, default="")
47
49
  parser.add_argument("--triggering_env", type=str, default="ci")
48
50
  parser.add_argument("--github_token", type=str, default=PERFORMANCE_GH_TOKEN)
49
51
  parser.add_argument("--pull-request", type=str, default=None, nargs="?", const="")
@@ -256,6 +256,12 @@ def compare_command_logic(args, project_name, project_version):
256
256
  comparison_target_branch = args.comparison_target_branch
257
257
  baseline_github_repo = args.baseline_github_repo
258
258
  comparison_github_repo = args.comparison_github_repo
259
+ baseline_github_org = args.github_org
260
+ if args.baseline_github_org != "":
261
+ baseline_github_org = args.baseline_github_org
262
+ comparison_github_org = args.github_org
263
+ if args.comparison_github_org != "":
264
+ comparison_github_org = args.comparison_github_org
259
265
  baseline_hash = args.baseline_hash
260
266
  comparison_hash = args.comparison_hash
261
267
 
@@ -324,6 +330,8 @@ def compare_command_logic(args, project_name, project_version):
324
330
  comparison_github_repo,
325
331
  baseline_target_branch,
326
332
  comparison_target_branch,
333
+ baseline_github_org,
334
+ comparison_github_org,
327
335
  )
328
336
  prepare_regression_comment(
329
337
  auto_approve,
@@ -555,6 +563,8 @@ def compute_regression_table(
555
563
  comparison_github_repo="redis",
556
564
  baseline_target_branch=None,
557
565
  comparison_target_branch=None,
566
+ baseline_github_org="redis",
567
+ comparison_github_org="redis",
558
568
  ):
559
569
  START_TIME_NOW_UTC, _, _ = get_start_time_vars()
560
570
  START_TIME_LAST_MONTH_UTC = START_TIME_NOW_UTC - datetime.timedelta(days=31)
@@ -657,6 +667,8 @@ def compute_regression_table(
657
667
  running_platform,
658
668
  baseline_github_repo,
659
669
  comparison_github_repo,
670
+ baseline_github_org,
671
+ comparison_github_org,
660
672
  )
661
673
  logging.info(
662
674
  "Printing differential analysis between {} and {}".format(
@@ -909,6 +921,8 @@ def from_rts_to_regression_table(
909
921
  running_platform=None,
910
922
  baseline_github_repo="redis",
911
923
  comparison_github_repo="redis",
924
+ baseline_github_org="redis",
925
+ comparison_github_org="redis",
912
926
  ):
913
927
  print_all = print_regressions_only is False and print_improvements_only is False
914
928
  table_full = []
@@ -940,6 +954,7 @@ def from_rts_to_regression_table(
940
954
  "{}={}".format(test_filter, test_name),
941
955
  "deployment_name={}".format(baseline_deployment_name),
942
956
  "github_repo={}".format(baseline_github_repo),
957
+ "github_org={}".format(baseline_github_org),
943
958
  "triggering_env={}".format(tf_triggering_env),
944
959
  ]
945
960
  if running_platform is not None:
@@ -950,6 +965,7 @@ def from_rts_to_regression_table(
950
965
  "{}={}".format(test_filter, test_name),
951
966
  "deployment_name={}".format(comparison_deployment_name),
952
967
  "github_repo={}".format(comparison_github_repo),
968
+ "github_org={}".format(comparison_github_org),
953
969
  "triggering_env={}".format(tf_triggering_env),
954
970
  ]
955
971
  if "hash" not in by_str_baseline:
@@ -1,6 +1,14 @@
1
1
  version: 0.4
2
2
  name: memtier_benchmark-connection-hello
3
3
  description: 'Runs memtier_benchmark, for no keyspace, benchmarking the connection setup scenario using HELLO command.'
4
+ dbconfig:
5
+ configuration-parameters:
6
+ save: '""'
7
+ check:
8
+ keyspacelen: 0
9
+ resources:
10
+ requests:
11
+ memory: 1g
4
12
  tested-groups:
5
13
  - connection
6
14
  tested-commands:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.219
3
+ Version: 0.1.221
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
@@ -4,7 +4,7 @@ redis_benchmarks_specification/__api__/api.py,sha256=k_CMICtMm1z8jY3hByaL0hIr_5v
4
4
  redis_benchmarks_specification/__api__/app.py,sha256=JzQm84DjIVdfLbDO423BJbrds6gFzMbA0syRkHE_aUU,7063
5
5
  redis_benchmarks_specification/__builder__/Readme.md,sha256=O6MV_J3OSgzW-ir2TbukP8Vhkm_LOzQJJndG1Cykqic,111
6
6
  redis_benchmarks_specification/__builder__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
7
- redis_benchmarks_specification/__builder__/builder.py,sha256=T5dTB_qgX1FdPA_qQfFTHtnBL9O6w6TSI5YCKNJrxKM,27769
7
+ redis_benchmarks_specification/__builder__/builder.py,sha256=quWVY8Iv-UIbKQDYRS4kY2myWm6JXmJ5-7ExsjNvJoc,27888
8
8
  redis_benchmarks_specification/__builder__/schema.py,sha256=1wcmyVJBcWrBvK58pghN9NCoWLCO3BzPsmdKWYfkVog,584
9
9
  redis_benchmarks_specification/__cli__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
10
10
  redis_benchmarks_specification/__cli__/args.py,sha256=9uP9p2hqxr60k0XjpDl0TS22d3bHYdxsVZdgrgf5dg0,7013
@@ -19,8 +19,8 @@ redis_benchmarks_specification/__common__/runner.py,sha256=7DBI09eu_4RibK6MwcYyI
19
19
  redis_benchmarks_specification/__common__/spec.py,sha256=eTF5559epBB0FrJPx-jRDQVeP_ZVOgyC7Vjxr2xk6fo,3262
20
20
  redis_benchmarks_specification/__common__/timeseries.py,sha256=_LJFtC5sVP7DTaLZaIzv5g7wRxPTQZRwFIYvWX4p4N8,50533
21
21
  redis_benchmarks_specification/__compare__/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
22
- redis_benchmarks_specification/__compare__/args.py,sha256=k1e2L67IQKEBPvNBfY-jC_cR1x4ueSg-7u-1e8tJ9aQ,6155
23
- redis_benchmarks_specification/__compare__/compare.py,sha256=E-O5NfByFWWVTktrhwq-aRtBdboHf9eZEVFFMf0dwSQ,45313
22
+ redis_benchmarks_specification/__compare__/args.py,sha256=L7Ap7A7qRv8ebIehDSleeXhK2UgWHL2YXeVyIFpRW-k,6299
23
+ redis_benchmarks_specification/__compare__/compare.py,sha256=LOSlPao896I5DmuPE3BkXyTnhI0Y1SDI_8lRZa2KEo8,45965
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=lYvbPd_3ppHZv4f2sRwXcF-fcBrwRSn3H2RMmNVkojY,7221
@@ -157,10 +157,10 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-set-10-100-el
157
157
  redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries-pipeline-10.yml,sha256=7yWCmQTtiypmF1tHGV61z9Zh5EH8CVuETu7bDNC4V6g,1138
158
158
  redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries.yml,sha256=Z6T75dIbjRb4YO1tFIV9K4S_KFzRHfAa4q3kOg0vcHw,1112
159
159
  redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-load-string-with-512B-values.yml,sha256=XAIFlbR6VJnmQRwedLGBGenbIsMC_I3uA35Mz_bkTTc,1028
160
- redis_benchmarks_specification/test-suites/memtier_benchmark-connection-hello.yml,sha256=8JX9InqlMPW7Irn94gOsrGJtq6Q6pMlCGx901-oUkmA,583
160
+ redis_benchmarks_specification/test-suites/memtier_benchmark-connection-hello.yml,sha256=VIFNaaAqRQMeDvtXmKGDpJTnu658Lv5i_oAju5uSi_c,708
161
161
  redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
162
- redis_benchmarks_specification-0.1.219.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
163
- redis_benchmarks_specification-0.1.219.dist-info/METADATA,sha256=b23LCfzcZJCRP6nQ-F9SeeKpZUrxX1W92d3YoPfxOWo,22726
164
- redis_benchmarks_specification-0.1.219.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
165
- redis_benchmarks_specification-0.1.219.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
166
- redis_benchmarks_specification-0.1.219.dist-info/RECORD,,
162
+ redis_benchmarks_specification-0.1.221.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
163
+ redis_benchmarks_specification-0.1.221.dist-info/METADATA,sha256=6X-M9bqkTBHDW_KKx6N_SjKo541I7OnKYdb7XRnXVb0,22726
164
+ redis_benchmarks_specification-0.1.221.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
165
+ redis_benchmarks_specification-0.1.221.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
166
+ redis_benchmarks_specification-0.1.221.dist-info/RECORD,,