diff options
author | bulatman <bulatman@yandex-team.ru> | 2022-02-10 16:45:50 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:50 +0300 |
commit | 2f6ca198245aeffd5e2d82b65927c2465b68b4f5 (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /library/python/testing/yatest_common/yatest/common | |
parent | 6560e4993b14d193f8c879e33a3de5e5eba6e21d (diff) | |
download | ydb-2f6ca198245aeffd5e2d82b65927c2465b68b4f5.tar.gz |
Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/python/testing/yatest_common/yatest/common')
-rw-r--r-- | library/python/testing/yatest_common/yatest/common/benchmark.py | 6 |
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 766d3a8968..c3784cbe4c 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: |