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

@@ -46,6 +46,12 @@ def create_compare_arguments(parser):
46
46
  default="",
47
47
  help="specify a test (or a comma separated list of tests) to use for comparison. If none is specified by default will use all of them.",
48
48
  )
49
+ parser.add_argument(
50
+ "--use-test-suites-folder",
51
+ action="store_true",
52
+ default=False,
53
+ help="Use test names from YAML files in test-suites folder instead of database",
54
+ )
49
55
  parser.add_argument(
50
56
  "--defaults_filename",
51
57
  type=str,
@@ -399,6 +399,8 @@ def compare_command_logic(args, project_name, project_version):
399
399
  args.regression_str,
400
400
  args.improvement_str,
401
401
  tests_with_config,
402
+ args.use_test_suites_folder,
403
+ testsuites_folder,
402
404
  )
403
405
  total_regressions = len(regressions_list)
404
406
  total_improvements = len(improvements_list)
@@ -686,6 +688,8 @@ def compute_regression_table(
686
688
  regression_str="REGRESSION",
687
689
  improvement_str="IMPROVEMENT",
688
690
  tests_with_config={},
691
+ use_test_suites_folder=False,
692
+ test_suites_folder=None,
689
693
  ):
690
694
  START_TIME_NOW_UTC, _, _ = get_start_time_vars()
691
695
  START_TIME_LAST_MONTH_UTC = START_TIME_NOW_UTC - datetime.timedelta(days=31)
@@ -746,6 +750,10 @@ def compute_regression_table(
746
750
  if test != "":
747
751
  test_names = test.split(",")
748
752
  logging.info("Using test name {}".format(test_names))
753
+ elif use_test_suites_folder:
754
+ test_names = get_test_names_from_yaml_files(
755
+ test_suites_folder, tags_regex_string
756
+ )
749
757
  else:
750
758
  test_names = get_test_names_from_db(
751
759
  rts, tags_regex_string, test_names, used_key
@@ -1620,6 +1628,31 @@ def get_test_names_from_db(rts, tags_regex_string, test_names, used_key):
1620
1628
  return test_names
1621
1629
 
1622
1630
 
1631
+ def get_test_names_from_yaml_files(test_suites_folder, tags_regex_string):
1632
+ """Get test names from YAML files in test-suites folder"""
1633
+ from redis_benchmarks_specification.__common__.runner import get_benchmark_specs
1634
+
1635
+ # Get all YAML files
1636
+ yaml_files = get_benchmark_specs(test_suites_folder, test="", test_regex=".*")
1637
+
1638
+ # Extract test names (remove path and .yml extension)
1639
+ test_names = []
1640
+ for yaml_file in yaml_files:
1641
+ test_name = os.path.basename(yaml_file).replace(".yml", "")
1642
+ # Apply regex filtering like database version
1643
+ match_obj = re.search(tags_regex_string, test_name)
1644
+ if match_obj is not None:
1645
+ test_names.append(test_name)
1646
+
1647
+ test_names.sort()
1648
+ logging.info(
1649
+ "Based on test-suites folder ({}) we have {} comparison points: {}".format(
1650
+ test_suites_folder, len(test_names), test_names
1651
+ )
1652
+ )
1653
+ return test_names
1654
+
1655
+
1623
1656
  def get_line(
1624
1657
  baseline_v_str,
1625
1658
  comparison_v_str,
@@ -0,0 +1,32 @@
1
+ version: 0.4
2
+ name: memtier_benchmark-1Mkeys-load-string-with-1KiB-values-pipeline-10
3
+ description: Runs memtier_benchmark, for a keyspace length of 1M keys loading STRINGs
4
+ in which the value has a data size of 1000 Bytes.
5
+ dbconfig:
6
+ configuration-parameters:
7
+ save: '""'
8
+ check:
9
+ keyspacelen: 0
10
+ resources:
11
+ requests:
12
+ memory: 3g
13
+ tested-commands:
14
+ - set
15
+ redis-topologies:
16
+ - oss-standalone
17
+ build-variants:
18
+ - gcc:15.2.0-amd64-debian-bookworm-default
19
+ - gcc:15.2.0-arm64-debian-bookworm-default
20
+ - dockerhub
21
+ clientconfig:
22
+ run_image: redislabs/memtier_benchmark:edge
23
+ tool: memtier_benchmark
24
+ arguments: '--pipeline 10 --distinct-client-seed --data-size 1000 --ratio 1:0 --key-pattern R:R --key-minimum=1 --key-maximum
25
+ 1000000 --test-time 180 -c 50 -t 4 --hide-histogram'
26
+ resources:
27
+ requests:
28
+ cpus: '4'
29
+ memory: 2g
30
+ tested-groups:
31
+ - string
32
+ priority: 17
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.321
3
+ Version: 0.1.322
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
@@ -19,8 +19,8 @@ redis_benchmarks_specification/__common__/runner.py,sha256=M-o1QZVlp3thFW-55PiaW
19
19
  redis_benchmarks_specification/__common__/spec.py,sha256=D_SN48wg6NMthW_-OS1H5bydSDiuZpfd4WPPj7Vfwmc,5760
20
20
  redis_benchmarks_specification/__common__/timeseries.py,sha256=uvS3T2zdrSmW_B2S0MYTekJfHUllqU3RlD0LrF957RQ,52904
21
21
  redis_benchmarks_specification/__compare__/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
22
- redis_benchmarks_specification/__compare__/args.py,sha256=f3ZSs8GzyIzaMzX2h9cx0nOrnlO4aXToO1SBzBlpzKM,7608
23
- redis_benchmarks_specification/__compare__/compare.py,sha256=OrpCpY66rlbP5so6aYCdSF9Sy3sdhKrnzVJK1u3XQno,62912
22
+ redis_benchmarks_specification/__compare__/args.py,sha256=-3lPYzvLPiDsx1oW9KmuafxZWzA4hhbhYsBAgiGtD_w,7816
23
+ redis_benchmarks_specification/__compare__/compare.py,sha256=uHlnjnF2kkiPIBDIJIw1inEnfUQX0OiABPfrJkp1bgo,64111
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=-el2RttOjjc4Y9yOM1P5y9BwIkBPp_Y1k7OsP91P2BI,10651
@@ -47,8 +47,8 @@ redis_benchmarks_specification/__watchdog__/args.py,sha256=azW3WkS9uqQJthtZt7TPG
47
47
  redis_benchmarks_specification/__watchdog__/watchdog.py,sha256=MASAPSusxEOWCf_iVW4xIwwgFm_snLHJaI2XRiMlZhs,5832
48
48
  redis_benchmarks_specification/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  redis_benchmarks_specification/commands/commands.py,sha256=hJbKkGzAFt_l40fJyQLfBKY_zgCp-1j-siUFc6fQ71c,450
50
- redis_benchmarks_specification/setups/builders/gcc:15.2.0-amd64-debian-buster-default.yml,sha256=UobsjPRRQALKNvAkOqvYJJs8HLrlG9AbfJwuIkLpwHU,528
51
- redis_benchmarks_specification/setups/builders/gcc:15.2.0-arm64-debian-buster-default.yml,sha256=zexg-qwlrdjNEsJDigcwQgm-CluwtrWHPygvXzv0wwo,528
50
+ redis_benchmarks_specification/setups/builders/gcc:15.2.0-amd64-debian-bookworm-default.yml,sha256=UobsjPRRQALKNvAkOqvYJJs8HLrlG9AbfJwuIkLpwHU,528
51
+ redis_benchmarks_specification/setups/builders/gcc:15.2.0-arm64-debian-bookworm-default.yml,sha256=zexg-qwlrdjNEsJDigcwQgm-CluwtrWHPygvXzv0wwo,528
52
52
  redis_benchmarks_specification/setups/platforms/aws-ec2-1node-c5.4xlarge.yml,sha256=l7HsjccpebwZXeutnt3SHSETw4iiRwQ9dCDXLOySSRQ,622
53
53
  redis_benchmarks_specification/setups/topologies/topologies.yml,sha256=N2UOKA8tG_pLpaSFtn7WdUmDNYwxRyTv9Ln_PCOPTco,3261
54
54
  redis_benchmarks_specification/test-suites/defaults.yml,sha256=EJHv9INdjoNVMOgHY8qo4IVCHfvXVz5sv7Vxtr3DAIE,1392
@@ -119,6 +119,7 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-string-
119
119
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-string-with-10B-values-pipeline-50.yml,sha256=TaC4cWYPGiPIKoxRRJzCnnrsATEAR4V4P_k60969438,897
120
120
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-string-with-10B-values-pipeline-500.yml,sha256=oMqOV5SsCsmB2DdcxdpOQOx_Ea3osGI6sUnz51Kv0W8,899
121
121
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-string-with-10B-values.yml,sha256=brWaqyfx3DuYmGrzxhZg78gnUUDxr_9dcaNg5X97xdU,838
122
+ redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-string-with-1KiB-values-pipeline-10.yml,sha256=geMNHCghhORcc9eOugIVy1xEjyzJ1qXDlLw9Fi-nXZs,888
122
123
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-string-with-1KiB-values.yml,sha256=VxKiUTOjCLt2bcSA7iAf-44du9ttK8D3Qf_67S5eRtY,843
123
124
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-string-with-20KiB-values.yml,sha256=fU58-OT7Tg444tKeXYL0ni7i44KfBmcvEGf3OQ5EoMU,898
124
125
  redis_benchmarks_specification/test-suites/memtier_benchmark-1Mkeys-load-zset-listpack-with-100-elements-double-score.yml,sha256=ILqf3SY5VJkRs_8mur_torHdbVLCsYaZcwzReBwsmfg,6487
@@ -277,8 +278,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-st
277
278
  redis_benchmarks_specification/test-suites/memtier_benchmark-playbook-session-storage-1k-sessions.yml,sha256=2egtIxPxCze2jlbAfgsk4v9JSQHNMoPLbDWFEW8olDg,7006
278
279
  redis_benchmarks_specification/test-suites/template.txt,sha256=ezqGiRPOvuSDO0iG7GEf-AGXNfHbgXI89_G0RUEzL88,481
279
280
  redis_benchmarks_specification/vector-search-test-suites/vector_db_benchmark_test.yml,sha256=PD7ow-k4Ll2BkhEC3aIqiaCZt8Hc4aJIp96Lw3J3mcI,791
280
- redis_benchmarks_specification-0.1.321.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
281
- redis_benchmarks_specification-0.1.321.dist-info/METADATA,sha256=Ba9UTZowrE7S3u_ir4Sg9H2FHp2eWRE-nVdCCiyi9r0,22726
282
- redis_benchmarks_specification-0.1.321.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
283
- redis_benchmarks_specification-0.1.321.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
284
- redis_benchmarks_specification-0.1.321.dist-info/RECORD,,
281
+ redis_benchmarks_specification-0.1.322.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
282
+ redis_benchmarks_specification-0.1.322.dist-info/METADATA,sha256=IJ8st5rZHb_Jz7k27HlFYeDiiNfowbXUzdhYCwcjCW4,22726
283
+ redis_benchmarks_specification-0.1.322.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
284
+ redis_benchmarks_specification-0.1.322.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
285
+ redis_benchmarks_specification-0.1.322.dist-info/RECORD,,