Skip to content

Commit 11ca257

Browse files
[add] Enabling to decide on overlead test name or keep it on redis-benchmark output (#160)
1 parent aa18104 commit 11ca257

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisbench-admin"
3-
version = "0.3.2"
3+
version = "0.3.3"
44
description = "Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... )."
55
authors = ["filipecosta90 <[email protected]>"]
66
readme = "README.md"

redisbench_admin/utils/results.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def post_process_benchmark_results(
6060
start_time_ms,
6161
start_time_str,
6262
stdout,
63+
overload_test_name="Overall",
6364
):
6465
if benchmark_tool == "redis-benchmark":
6566
if type(stdout) == bytes:
@@ -73,7 +74,7 @@ def post_process_benchmark_results(
7374
stdout,
7475
start_time_ms,
7576
start_time_str,
76-
overload_test_name="Overall",
77+
overload_test_name,
7778
)
7879
with open(local_benchmark_output_filename, "w") as json_file:
7980
json.dump(results_dict, json_file, indent=True)

0 commit comments

Comments
 (0)