mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fixup
This commit is contained in:
parent
857582245e
commit
cd769e5ebf
@ -235,7 +235,7 @@ function build_log_column_definitions
|
||||
{
|
||||
# FIXME This loop builds column definitons from TSVWithNamesAndTypes in an
|
||||
# absolutely atrocious way. This should be done by the file() function itself.
|
||||
for x in {right,left}-{addresses,{query,query-thread,trace,metric}-log}.tsv
|
||||
for x in {right,left}-{addresses,{query,query-thread,trace,{async-,}metric}-log}.tsv
|
||||
do
|
||||
paste -d' ' \
|
||||
<(sed -n '1{s/\t/\n/g;p;q}' "$x" | sed 's/\(^.*$\)/"\1"/') \
|
||||
|
@ -325,8 +325,8 @@ if args.report == 'main':
|
||||
def print_benchmark_results():
|
||||
left_json = json.load(open('benchmark/website-left.json'));
|
||||
right_json = json.load(open('benchmark/website-right.json'));
|
||||
left_qps = left_json["statistics"]["QPS"]
|
||||
right_qps = right_json["statistics"]["QPS"]
|
||||
left_qps = next(iter(left_json.values()))["statistics"]["QPS"]
|
||||
right_qps = next(iter(right_json.values()))["statistics"]["QPS"]
|
||||
relative_diff = (right_qps - left_qps) / left_qps;
|
||||
times_diff = max(right_qps, left_qps) / max(0.01, min(right_qps, left_qps))
|
||||
print(tableStart('Concurrent benchmarks'))
|
||||
|
Loading…
Reference in New Issue
Block a user