redis-benchmarks-specification 0.1.220__py3-none-any.whl → 0.1.222__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,8 @@ 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.baseline_github_org
260
+ comparison_github_org = args.comparison_github_org
259
261
  baseline_hash = args.baseline_hash
260
262
  comparison_hash = args.comparison_hash
261
263
 
@@ -324,6 +326,8 @@ def compare_command_logic(args, project_name, project_version):
324
326
  comparison_github_repo,
325
327
  baseline_target_branch,
326
328
  comparison_target_branch,
329
+ baseline_github_org,
330
+ comparison_github_org,
327
331
  )
328
332
  prepare_regression_comment(
329
333
  auto_approve,
@@ -555,6 +559,8 @@ def compute_regression_table(
555
559
  comparison_github_repo="redis",
556
560
  baseline_target_branch=None,
557
561
  comparison_target_branch=None,
562
+ baseline_github_org="redis",
563
+ comparison_github_org="redis",
558
564
  ):
559
565
  START_TIME_NOW_UTC, _, _ = get_start_time_vars()
560
566
  START_TIME_LAST_MONTH_UTC = START_TIME_NOW_UTC - datetime.timedelta(days=31)
@@ -657,6 +663,8 @@ def compute_regression_table(
657
663
  running_platform,
658
664
  baseline_github_repo,
659
665
  comparison_github_repo,
666
+ baseline_github_org,
667
+ comparison_github_org,
660
668
  )
661
669
  logging.info(
662
670
  "Printing differential analysis between {} and {}".format(
@@ -909,6 +917,8 @@ def from_rts_to_regression_table(
909
917
  running_platform=None,
910
918
  baseline_github_repo="redis",
911
919
  comparison_github_repo="redis",
920
+ baseline_github_org="redis",
921
+ comparison_github_org="redis",
912
922
  ):
913
923
  print_all = print_regressions_only is False and print_improvements_only is False
914
924
  table_full = []
@@ -942,6 +952,8 @@ def from_rts_to_regression_table(
942
952
  "github_repo={}".format(baseline_github_repo),
943
953
  "triggering_env={}".format(tf_triggering_env),
944
954
  ]
955
+ if baseline_github_org != "":
956
+ filters_baseline.append(f"github_org={baseline_github_org}")
945
957
  if running_platform is not None:
946
958
  filters_baseline.append("running_platform={}".format(running_platform))
947
959
  filters_comparison = [
@@ -952,6 +964,8 @@ def from_rts_to_regression_table(
952
964
  "github_repo={}".format(comparison_github_repo),
953
965
  "triggering_env={}".format(tf_triggering_env),
954
966
  ]
967
+ if comparison_github_org != "":
968
+ filters_baseline.append(f"github_org={comparison_github_org}")
955
969
  if "hash" not in by_str_baseline:
956
970
  filters_baseline.append("hash==")
957
971
  if "hash" not in by_str_comparison:
@@ -0,0 +1,34 @@
1
+ version: 0.4
2
+ name: memtier_benchmark-1Mkeys-string-append-1-100B
3
+ description: Runs memtier_benchmark, for a keyspace length of 1M keys with a data size of 1 Bytes for each key initially. Then we append to the same keys with values ranging from 1 to 100B.
4
+ dbconfig:
5
+ configuration-parameters:
6
+ save: '""'
7
+ check:
8
+ keyspacelen: 1000000
9
+ preload_tool:
10
+ run_image: redislabs/memtier_benchmark:edge
11
+ tool: memtier_benchmark
12
+ arguments: '"--data-size" "1" "--ratio" "1:0" "--key-pattern" "P:P" "-c" "50" "-t" "2" "--hide-histogram" "--key-minimum" "1"'
13
+ resources:
14
+ requests:
15
+ memory: 1g
16
+ tested-commands:
17
+ - append
18
+ redis-topologies:
19
+ - oss-standalone
20
+ build-variants:
21
+ - gcc:8.5.0-amd64-debian-buster-default
22
+ - dockerhub
23
+ clientconfig:
24
+ run_image: redislabs/memtier_benchmark:edge
25
+ tool: memtier_benchmark
26
+ arguments: --test-time 120 --data-size-range=1-100 --command "APPEND __key__ __data__" --command-key-pattern="R" --key-minimum=1 --key-maximum 1000000 -c 50 -t 4 --hide-histogram
27
+ resources:
28
+ requests:
29
+ cpus: '4'
30
+ memory: 2g
31
+
32
+ tested-groups:
33
+ - string
34
+ priority: 1
@@ -0,0 +1,28 @@
1
+ version: 0.4
2
+ name: memtier_benchmark-1Mkeys-string-incrby
3
+ description: Runs memtier_benchmark, for a keyspace length of 1M keys doing incrby of 1.
4
+ dbconfig:
5
+ configuration-parameters:
6
+ save: '""'
7
+ resources:
8
+ requests:
9
+ memory: 1g
10
+ tested-groups:
11
+ - string
12
+ tested-commands:
13
+ - incrby
14
+ redis-topologies:
15
+ - oss-standalone
16
+ build-variants:
17
+ - gcc:8.5.0-amd64-debian-buster-default
18
+ - dockerhub
19
+ clientconfig:
20
+ run_image: redislabs/memtier_benchmark:edge
21
+ tool: memtier_benchmark
22
+ arguments: --test-time 120 --command "INCRBY __key__ 1" --command-key-pattern="R" --key-minimum=1 --key-maximum 1000000 -c 50 -t 4 --hide-histogram
23
+ resources:
24
+ requests:
25
+ cpus: '4'
26
+ memory: 2g
27
+
28
+ priority: 21
@@ -0,0 +1,28 @@
1
+ version: 0.4
2
+ name: memtier_benchmark-1Mkeys-string-incrbyfloat
3
+ description: Runs memtier_benchmark, for a keyspace length of 1M keys doing incrby of 0.01.
4
+ dbconfig:
5
+ configuration-parameters:
6
+ save: '""'
7
+ resources:
8
+ requests:
9
+ memory: 1g
10
+ tested-groups:
11
+ - string
12
+ tested-commands:
13
+ - incrbyfloat
14
+ redis-topologies:
15
+ - oss-standalone
16
+ build-variants:
17
+ - gcc:8.5.0-amd64-debian-buster-default
18
+ - dockerhub
19
+ clientconfig:
20
+ run_image: redislabs/memtier_benchmark:edge
21
+ tool: memtier_benchmark
22
+ arguments: --test-time 120 --command "INCRBYFLOAT __key__ 0.01" --command-key-pattern="R" --key-minimum=1 --key-maximum 1000000 -c 50 -t 4 --hide-histogram
23
+ resources:
24
+ requests:
25
+ cpus: '4'
26
+ memory: 2g
27
+
28
+ priority: 21
@@ -0,0 +1,34 @@
1
+ version: 0.4
2
+ name: memtier_benchmark-1Mkeys-string-setrange-100B
3
+ description: Runs memtier_benchmark, for a keyspace length of 1M keys with a data size of 100 Bytes for each key.
4
+ dbconfig:
5
+ configuration-parameters:
6
+ save: '""'
7
+ check:
8
+ keyspacelen: 1000000
9
+ preload_tool:
10
+ run_image: redislabs/memtier_benchmark:edge
11
+ tool: memtier_benchmark
12
+ arguments: '"--data-size" "100" "--ratio" "1:0" "--key-pattern" "P:P" "-c" "50" "-t" "2" "--hide-histogram" "--key-minimum" "1"'
13
+ resources:
14
+ requests:
15
+ memory: 1g
16
+ tested-commands:
17
+ - setrange
18
+ redis-topologies:
19
+ - oss-standalone
20
+ build-variants:
21
+ - gcc:8.5.0-amd64-debian-buster-default
22
+ - dockerhub
23
+ clientconfig:
24
+ run_image: redislabs/memtier_benchmark:edge
25
+ tool: memtier_benchmark
26
+ arguments: --test-time 120 --data-size-range=1-95 --command "SETRANGE __key__ 5 __data__" --command-key-pattern="R" --key-minimum=1 --key-maximum 1000000 -c 50 -t 4 --hide-histogram
27
+ resources:
28
+ requests:
29
+ cpus: '4'
30
+ memory: 2g
31
+
32
+ tested-groups:
33
+ - string
34
+ priority: 1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.220
3
+ Version: 0.1.222
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=SPKYTGlzR5so4LSPi51RyTNqBo9ZeV5AByk3NvtyBUg,45901
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
@@ -97,6 +97,7 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-string-
97
97
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-string-with-2MB-values.yml,sha256=nj4-jT-YXudBe2DNY4ZJ21YwZ_RIJIBAEO-7h6CoTJA,847
98
98
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-zset-with-10-elements-double-score.yml,sha256=AcrRuFBiRBVJ8C5sS_xVoBW33tR6-u8vBfIp4OzMAOY,972
99
99
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-zset-with-10-elements-int-score.yml,sha256=hYJE6X6wHQF-dFA25xJMBgEPXMhO3XJhBQ_NrBwx8Lc,900
100
+ redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-append-1-100B.yml,sha256=N5mrDUO9d3FH2LQjASwhVYqLP8-pKZJfSuNRloHir28,1102
100
101
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-decr.yml,sha256=jRmqwgafIDKCwn1o7Xwx6Rywcq-Z3JeS-KTL254K9qs,1049
101
102
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-get-100B-pipeline-10.yml,sha256=fvuKzY2WjIY4cl96x4DBSFMlaXl1g-Hmsw_J4VAGIuo,978
102
103
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-get-100B.yml,sha256=_fRtXmRvktAiXBHiL5pp50LzN1RDN6seLKfoDXwWFBU,944
@@ -107,7 +108,10 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-get-1
107
108
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-get-200KiB.yml,sha256=lt7N1e5KK3xkqeiCOJ7eD8N_XfgOKOlZph84J-eVs-Y,954
108
109
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-get-20KiB.yml,sha256=nZ_c5DV8lKWMmgW9Scgh4WGNA9tD0nkCYssp0syHJfs,950
109
110
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-get-2MB.yml,sha256=JslW9y5ItM3I5yoZY2yNiDSD0XQrW9m1hKLDtC8ImVQ,1011
111
+ redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-incrby.yml,sha256=jU9FuUVTYNruLmBwS1GDA6oUzi8iBi5lgVOLJABTsew,707
112
+ redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-incrbyfloat.yml,sha256=4UnmF-vx8At2ah1YjFUMHgvXFpfi4EVVXsAWjN42M78,728
110
113
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-mget-1KiB.yml,sha256=s1PLNH__vexG6bE-GL_xPAqVelupxY73AWWE5siYIYE,999
114
+ redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-string-setrange-100B.yml,sha256=ivi_raHaME5UUVEqV8SkvwJ5SK7d-RgcfalWCnYRpV8,1033
111
115
  redis_benchmarks_specification/test-suites/memtier_benchmark-1key-geo-2-elements-geopos.yml,sha256=Mni3vvF4iSy1OJ_9USsYhh6RPd0x5Sss37E1UcL2J3Q,931
112
116
  redis_benchmarks_specification/test-suites/memtier_benchmark-1key-geo-2-elements-geosearch-fromlonlat-withcoord.yml,sha256=qo26OHdRFwmtH9ZGzj-bsasjzYoa4DGL2ODuDbOdgAE,1097
113
117
  redis_benchmarks_specification/test-suites/memtier_benchmark-1key-geo-60M-elements-geodist-pipeline-10.yml,sha256=fnLeuvhBxNit7iO2D7P4Ybxahw0e_U6wXy0IudNhQVM,890
@@ -159,8 +163,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entr
159
163
  redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-load-string-with-512B-values.yml,sha256=XAIFlbR6VJnmQRwedLGBGenbIsMC_I3uA35Mz_bkTTc,1028
160
164
  redis_benchmarks_specification/test-suites/memtier_benchmark-connection-hello.yml,sha256=VIFNaaAqRQMeDvtXmKGDpJTnu658Lv5i_oAju5uSi_c,708
161
165
  redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
162
- redis_benchmarks_specification-0.1.220.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
163
- redis_benchmarks_specification-0.1.220.dist-info/METADATA,sha256=rLl2fUc-H21UQpTR5dOuBNZ7q8Vsks7THg6Jmpzcc2M,22726
164
- redis_benchmarks_specification-0.1.220.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
165
- redis_benchmarks_specification-0.1.220.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
166
- redis_benchmarks_specification-0.1.220.dist-info/RECORD,,
166
+ redis_benchmarks_specification-0.1.222.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
167
+ redis_benchmarks_specification-0.1.222.dist-info/METADATA,sha256=NoejDO4M6_pos3Z0PnlGAkgYVvWRr-3AhXUBoEAer90,22726
168
+ redis_benchmarks_specification-0.1.222.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
169
+ redis_benchmarks_specification-0.1.222.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
170
+ redis_benchmarks_specification-0.1.222.dist-info/RECORD,,