aboutsummaryrefslogtreecommitdiff
path: root/scripts/simplebench/bench_write_req.py
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-10-21 17:58:54 +0300
committerMax Reitz <mreitz@redhat.com>2020-12-18 12:35:55 +0100
commitbfccfa62ac771400a146dfe768a900f9f6e64467 (patch)
treed012b7580f575aade2a11a64af4e59094f238d40 /scripts/simplebench/bench_write_req.py
parentf52e1af0b08af93b5354fe2648eccaec6bb8a2b2 (diff)
simplebench: rename ascii() to results_to_text()
Next patch will use utf8 plus-minus symbol, let's use more generic (and more readable) name. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20201021145859.11201-17-vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/simplebench/bench_write_req.py')
-rwxr-xr-xscripts/simplebench/bench_write_req.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/simplebench/bench_write_req.py b/scripts/simplebench/bench_write_req.py
index ca1178fd68..e175bcd7a4 100755
--- a/scripts/simplebench/bench_write_req.py
+++ b/scripts/simplebench/bench_write_req.py
@@ -167,4 +167,4 @@ if __name__ == '__main__':
result = simplebench.bench(bench_func, test_envs, test_cases, count=3,
initial_run=False)
- print(simplebench.ascii(result))
+ print(simplebench.results_to_text(result))