performance comparison

This commit is contained in:
Alexander Kuzmenkov 2020-04-22 22:41:40 +03:00
parent 3d5809a4ac
commit 631c810500
2 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,7 @@ RUN apt-get update \
bash \ bash \
curl \ curl \
g++ \ g++ \
gdb \
git \ git \
libc6-dbg \ libc6-dbg \
moreutils \ moreutils \

View File

@ -180,7 +180,7 @@ function get_profiles_watchdog
{ {
sleep 3000 sleep 3000
echo "The trace collection did not finish in time." >> report-errors.rep echo "The trace collection did not finish in time." >> profile-errors.log
for pid in $(pgrep -f clickhouse) for pid in $(pgrep -f clickhouse)
do do
@ -250,6 +250,8 @@ done
rm ./*.{rep,svg} test-times.tsv test-dump.tsv unstable.tsv unstable-query-ids.tsv unstable-query-metrics.tsv changed-perf.tsv unstable-tests.tsv unstable-queries.tsv bad-tests.tsv slow-on-client.tsv all-queries.tsv ||: rm ./*.{rep,svg} test-times.tsv test-dump.tsv unstable.tsv unstable-query-ids.tsv unstable-query-metrics.tsv changed-perf.tsv unstable-tests.tsv unstable-queries.tsv bad-tests.tsv slow-on-client.tsv all-queries.tsv ||:
cat profile-errors.log >> report-errors.rep
clickhouse-local --query " clickhouse-local --query "
create table queries engine File(TSVWithNamesAndTypes, 'queries.rep') create table queries engine File(TSVWithNamesAndTypes, 'queries.rep')
as select as select
@ -447,7 +449,7 @@ unset IFS
# Remember that grep sets error code when nothing is found, hence the bayan # Remember that grep sets error code when nothing is found, hence the bayan
# operator. # operator.
grep -H -m2 -i '\(Exception\|Error\):[^:]' ./*-err.log | sed 's/:/\t/' > run-errors.tsv ||: grep -H -m2 -i '\(Exception\|Error\):[^:]' ./*-err.log | sed 's/:/\t/' >> run-errors.tsv ||:
} }
# Check that local and client are in PATH # Check that local and client are in PATH