Skip to content

Commit 7daea07

Browse files
[fix] Fixed UnicodeDecodeError on redis-benchmark post-processing. Ex… (#259)
* [fix] Fixed UnicodeDecodeError on redis-benchmark post-processing. Extended redisbench-admin compare capabilities and verbosity * Bumping version from 0.6.2 to 0.6.3
1 parent 9e670be commit 7daea07

File tree

5 files changed

+201
-54
lines changed

5 files changed

+201
-54
lines changed

poetry.lock

Lines changed: 78 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisbench-admin"
3-
version = "0.6.2"
3+
version = "0.6.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]>","Redis Performance Group <[email protected]>"]
66
readme = "README.md"
@@ -36,6 +36,7 @@ Flask-HTTPAuth = "^4.4.0"
3636
docker = "^5.0.0"
3737
tox-docker = "^3.1.0"
3838
daemonize = "^2.5.0"
39+
pandas = "1.0"
3940

4041
[tool.poetry.dev-dependencies]
4142
pytest = "^4.6"

redisbench_admin/compare/args.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
) = extract_git_vars()
2626

2727
_, NOW_UTC, _ = get_start_time_vars()
28-
LAST_WEEK_UTC = NOW_UTC - (24 * 90 * 60 * 60 * 1000)
28+
LAST_WEEK_UTC = NOW_UTC - (7 * 24 * 60 * 60 * 1000)
2929

3030

3131
def create_compare_arguments(parser):
@@ -70,6 +70,11 @@ def create_compare_arguments(parser):
7070
parser.add_argument(
7171
"--redistimeseries_user", type=str, default=PERFORMANCE_RTS_USER
7272
)
73-
parser.add_argument("--from_timestamp", type=int, default=LAST_WEEK_UTC)
73+
parser.add_argument(
74+
"--from_timestamp",
75+
type=int,
76+
default=LAST_WEEK_UTC,
77+
help="The minimum period to use for the the value fetching",
78+
)
7479
parser.add_argument("--to_timestamp", type=int, default=NOW_UTC)
7580
return parser

0 commit comments

Comments
 (0)