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

@@ -50,6 +50,7 @@ from redis_benchmarks_specification.__compare__.compare import (
50
50
  )
51
51
  from redis_benchmarks_specification.__runner__.runner import (
52
52
  print_results_table_stdout,
53
+ prepare_memtier_benchmark_parameters,
53
54
  )
54
55
  from redis_benchmarks_specification.__self_contained_coordinator__.args import (
55
56
  create_self_contained_coordinator_args,
@@ -324,7 +325,7 @@ def self_contained_coordinator_blocking_read(
324
325
  redis_proc_start_port=6379,
325
326
  consumer_pos=1,
326
327
  docker_air_gap=False,
327
- override_test_time=None,
328
+ override_test_time=1,
328
329
  default_metrics=None,
329
330
  arch="amd64",
330
331
  github_token=None,
@@ -375,7 +376,7 @@ def self_contained_coordinator_blocking_read(
375
376
  redis_proc_start_port,
376
377
  docker_air_gap,
377
378
  "defaults.yml",
378
- None,
379
+ override_test_time,
379
380
  default_metrics,
380
381
  arch,
381
382
  github_token,
@@ -409,30 +410,31 @@ def self_contained_coordinator_blocking_read(
409
410
  return overall_result, stream_id, num_process_streams, num_process_test_suites
410
411
 
411
412
 
412
- def prepare_memtier_benchmark_parameters(
413
- clientconfig,
414
- full_benchmark_path,
415
- port,
416
- server,
417
- local_benchmark_output_filename,
418
- oss_cluster_api_enabled,
419
- ):
420
- benchmark_command = [
421
- full_benchmark_path,
422
- "--port",
423
- "{}".format(port),
424
- "--server",
425
- "{}".format(server),
426
- "--json-out-file",
427
- local_benchmark_output_filename,
428
- ]
429
- if oss_cluster_api_enabled is True:
430
- benchmark_command.append("--cluster-mode")
431
- benchmark_command_str = " ".join(benchmark_command)
432
- if "arguments" in clientconfig:
433
- benchmark_command_str = benchmark_command_str + " " + clientconfig["arguments"]
434
-
435
- return None, benchmark_command_str
413
+ #
414
+ # def prepare_memtier_benchmark_parameters(
415
+ # clientconfig,
416
+ # full_benchmark_path,
417
+ # port,
418
+ # server,
419
+ # local_benchmark_output_filename,
420
+ # oss_cluster_api_enabled,
421
+ # ):
422
+ # benchmark_command = [
423
+ # full_benchmark_path,
424
+ # "--port",
425
+ # "{}".format(port),
426
+ # "--server",
427
+ # "{}".format(server),
428
+ # "--json-out-file",
429
+ # local_benchmark_output_filename,
430
+ # ]
431
+ # if oss_cluster_api_enabled is True:
432
+ # benchmark_command.append("--cluster-mode")
433
+ # benchmark_command_str = " ".join(benchmark_command)
434
+ # if "arguments" in clientconfig:
435
+ # benchmark_command_str = benchmark_command_str + " " + clientconfig["arguments"]
436
+ #
437
+ # return None, benchmark_command_str
436
438
 
437
439
 
438
440
  def process_self_contained_coordinator_stream(
@@ -452,7 +454,7 @@ def process_self_contained_coordinator_stream(
452
454
  redis_proc_start_port=6379,
453
455
  docker_air_gap=False,
454
456
  defaults_filename="defaults.yml",
455
- override_test_time=None,
457
+ override_test_time=0,
456
458
  default_metrics=[],
457
459
  arch="amd64",
458
460
  github_token=None,
@@ -846,13 +848,22 @@ def process_self_contained_coordinator_stream(
846
848
  (
847
849
  _,
848
850
  benchmark_command_str,
851
+ arbitrary_command,
849
852
  ) = prepare_memtier_benchmark_parameters(
850
853
  benchmark_config["clientconfig"],
851
854
  full_benchmark_path,
852
855
  redis_proc_start_port,
853
856
  "localhost",
857
+ None,
854
858
  local_benchmark_output_filename,
855
- benchmark_tool_workdir,
859
+ False,
860
+ False,
861
+ False,
862
+ None,
863
+ None,
864
+ None,
865
+ None,
866
+ override_test_time,
856
867
  )
857
868
 
858
869
  client_container_image = extract_client_container_image(
@@ -1207,7 +1218,7 @@ def process_self_contained_coordinator_stream(
1207
1218
  verbose,
1208
1219
  )
1209
1220
  logging.info(
1210
- f"Updated github comment with latest test info {regression_comment.html_url}"
1221
+ f"Updated github comment with latest test info {benchmark_run_comment.html_url}"
1211
1222
  )
1212
1223
 
1213
1224
  ###########################
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redis-benchmarks-specification
3
- Version: 0.1.96
3
+ Version: 0.1.98
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
@@ -33,7 +33,7 @@ redis_benchmarks_specification/__self_contained_coordinator__/cpuset.py,sha256=s
33
33
  redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=iivxZ55vL2kVHHkqVbXY2ftvxvceqH_Zw079KLCv9N8,2507
34
34
  redis_benchmarks_specification/__self_contained_coordinator__/prepopulation.py,sha256=ajhpzxsBy6tiHrO79gEIKQYxZR-Us6B4rC6NYg1EZjM,2875
35
35
  redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=Ul8UoxvWRxCVWmyaCBadpLMDOVEoNSp-A9KMPtPmUwM,28483
36
- redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=iTzdcHSVWiqR9jNkOVkCJwC5ldV2xvW0yXgVOKOy8cI,66167
36
+ redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=fX3u9JcF7ebci9axDelFUNSSNhYxpf4ot8JlENrAJ9U,66695
37
37
  redis_benchmarks_specification/__setups__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  redis_benchmarks_specification/__setups__/topologies.py,sha256=xQ1IJkcTji_ZjLiJd3vOxZpvbNtBLZw9cPkw5hGJKHU,481
39
39
  redis_benchmarks_specification/__spec__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
@@ -150,8 +150,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-set-10-100-el
150
150
  redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries-pipeline-10.yml,sha256=RSkNgV5SsjdkXhM0mifi2GlwIxtiHR8N3u-ieI23BoQ,1126
151
151
  redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries.yml,sha256=w7-dOIU-eATHXCvJbSeih6Vt54oygtkXKskQdzCll3o,1100
152
152
  redis_benchmarks_specification/test-suites/template.txt,sha256=qrci_94QV9bPUJe0cL8lsUaQmX5Woz-jT-pDF0629AE,423
153
- redis_benchmarks_specification-0.1.96.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
154
- redis_benchmarks_specification-0.1.96.dist-info/METADATA,sha256=qcGWW-g8BH50PhrWlOpY5IrUXMVyNCb-wLp6y-Htzew,22482
155
- redis_benchmarks_specification-0.1.96.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
156
- redis_benchmarks_specification-0.1.96.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
157
- redis_benchmarks_specification-0.1.96.dist-info/RECORD,,
153
+ redis_benchmarks_specification-0.1.98.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
154
+ redis_benchmarks_specification-0.1.98.dist-info/METADATA,sha256=BTUadwq1sbR62OrkbdDr80ONpO1dvVkwflGxulv7yiM,22482
155
+ redis_benchmarks_specification-0.1.98.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
156
+ redis_benchmarks_specification-0.1.98.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
157
+ redis_benchmarks_specification-0.1.98.dist-info/RECORD,,