Apache DataFusion SQL Query Engine
ARROW-5325: [Archery][Benchmark] Output properly formatted jsonlines from benchmark diff cli command
Krisztián Szűcsa39ef87fe571
diff --git a/dev/archery/archery/cli.py b/dev/archery/archery/cli.pyindex b7b077ab87..0178d58a03 100644--- a/dev/archery/archery/cli.py+++ b/dev/archery/archery/cli.py@@ -352,9 +352,12 @@ def benchmark_diff(ctx, src, preserve, suite_filter, benchmark_filter,regressions = 0runner_comp = RunnerComparator(runner_cont, runner_base, threshold)++ # TODO(kszucs): test that the output is properly formatted jsonlinesfor comparator in runner_comp.comparisons:regressions += comparator.regressionjson.dump(comparator, output, cls=JsonEncoder)+ output.write('\n')sys.exit(regressions)