From 3038c80308b93394f7a9178d9b7adc7a5e0c28d6 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sat, 9 May 2020 12:25:01 -0700 Subject: Load benchmark results from JSON files --- tools/benchmark-conf-to-json.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/benchmark-conf-to-json.py b/tools/benchmark-conf-to-json.py index ce61ee4a..033a0f94 100755 --- a/tools/benchmark-conf-to-json.py +++ b/tools/benchmark-conf-to-json.py @@ -196,6 +196,7 @@ if __name__ == '__main__': 'NumCpus': int(values[7]), 'NumCores': int(values[8]), 'NumThreads': int(values[9]), + 'Legacy': False, } bench.update(parse_new_style_bench_value(values[0])) if len(values) >= 11: @@ -215,6 +216,7 @@ if __name__ == '__main__': elif len(values) >= 2: bench = { 'BenchmarkResult': float(values[0]), + 'Legacy': True, } cpu_info = parse_old_style_cpu_info(values[1].replace(",", "."), key, section) -- cgit v1.2.3