aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/testing/yatest_common/yatest/common
diff options
context:
space:
mode:
authorbulatman <bulatman@yandex-team.ru>2022-02-10 16:45:50 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:50 +0300
commit6560e4993b14d193f8c879e33a3de5e5eba6e21d (patch)
treecfd2e2baa05c3196f2caacbb63c32e1df40bc3de /library/python/testing/yatest_common/yatest/common
parent7489e4682331202b9c7d863c0898eb83d7b12c2b (diff)
downloadydb-6560e4993b14d193f8c879e33a3de5e5eba6e21d.tar.gz
Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/python/testing/yatest_common/yatest/common')
-rw-r--r--library/python/testing/yatest_common/yatest/common/benchmark.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/benchmark.py b/library/python/testing/yatest_common/yatest/common/benchmark.py
index c3784cbe4c..766d3a8968 100644
--- a/library/python/testing/yatest_common/yatest/common/benchmark.py
+++ b/library/python/testing/yatest_common/yatest/common/benchmark.py
@@ -8,12 +8,12 @@ def execute_benchmark(path, budget=None, threads=None):
"""
Run benchmark and return values
:param path: path to benchmark binary
- :param budget: time budget, sec (supported only by ybenchmark)
- :param threads: number of threads to run benchmark (supported only by ybenchmark)
+ :param budget: time budget, sec (supported only by ybenchmark)
+ :param threads: number of threads to run benchmark (supported only by ybenchmark)
:return: map of benchmark values
"""
benchmark_path = runtime.binary_path(path)
- cmd = [benchmark_path, "--benchmark_format=json"]
+ cmd = [benchmark_path, "--benchmark_format=json"]
if budget is not None:
cmd += ["-b", str(budget)]
if threads is not None: