[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 13/21] scripts/simplebench: fix grammar: s/successed/succeeded
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[PATCH v7 13/21] scripts/simplebench: fix grammar: s/successed/succeeded/ |
Date: |
Wed, 21 Oct 2020 17:58:51 +0300 |
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
---
scripts/simplebench/simplebench.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/scripts/simplebench/simplebench.py
b/scripts/simplebench/simplebench.py
index 59e7314ff6..2445932fc2 100644
--- a/scripts/simplebench/simplebench.py
+++ b/scripts/simplebench/simplebench.py
@@ -54,14 +54,14 @@ def bench_one(test_func, test_env, test_case, count=5,
initial_run=True):
result = {'runs': runs}
- successed = [r for r in runs if ('seconds' in r)]
- if successed:
- avg = sum(r['seconds'] for r in successed) / len(successed)
+ succeeded = [r for r in runs if ('seconds' in r)]
+ if succeeded:
+ avg = sum(r['seconds'] for r in succeeded) / len(succeeded)
result['average'] = avg
- result['delta'] = max(abs(r['seconds'] - avg) for r in successed)
+ result['delta'] = max(abs(r['seconds'] - avg) for r in succeeded)
- if len(successed) < count:
- result['n-failed'] = count - len(successed)
+ if len(succeeded) < count:
+ result['n-failed'] = count - len(succeeded)
return result
--
2.21.3
- [PATCH v7 06/21] block: introduce BDRV_REQ_NO_WAIT flag, (continued)
- [PATCH v7 06/21] block: introduce BDRV_REQ_NO_WAIT flag, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 14/21] scripts/simplebench: support iops, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 08/21] block: introduce preallocate filter, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 09/21] qemu-io: add preallocate mode parameter for truncate command, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 16/21] simplebench: rename ascii() to results_to_text(), Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 07/21] block: bdrv_check_perm(): process children anyway, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 15/21] scripts/simplebench: use standard deviation for +- error, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 10/21] iotests: qemu_io_silent: support --image-opts, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 11/21] iotests.py: execute_setup_common(): add required_fmts argument, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 12/21] iotests: add 298 to test new preallocate filter driver, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 13/21] scripts/simplebench: fix grammar: s/successed/succeeded/,
Vladimir Sementsov-Ogievskiy <=
- [PATCH v7 17/21] simplebench: move results_to_text() into separate file, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 18/21] simplebench/results_to_text: improve view of the table, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 20/21] simplebench/results_to_text: make executable, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 19/21] simplebench/results_to_text: add difference line to the table, Vladimir Sementsov-Ogievskiy, 2020/10/21
- [PATCH v7 21/21] scripts/simplebench: add bench_prealloc.py, Vladimir Sementsov-Ogievskiy, 2020/10/21