mirror of
https://github.com/mii443/qemu.git
synced 2025-12-17 01:28:52 +00:00
simplebench: move results_to_text() into separate file
Let's keep view part in separate: this way it's better to improve it in the following commits. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20201021145859.11201-18-vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
committed by
Max Reitz
parent
bfccfa62ac
commit
8e979febb0
@@ -26,6 +26,7 @@ import sys
|
||||
import os
|
||||
import subprocess
|
||||
import simplebench
|
||||
from results_to_text import results_to_text
|
||||
|
||||
|
||||
def bench_func(env, case):
|
||||
@@ -167,4 +168,4 @@ if __name__ == '__main__':
|
||||
|
||||
result = simplebench.bench(bench_func, test_envs, test_cases, count=3,
|
||||
initial_run=False)
|
||||
print(simplebench.results_to_text(result))
|
||||
print(results_to_text(result))
|
||||
|
||||
Reference in New Issue
Block a user