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 \
curl \
g++ \
gdb \
git \
libc6-dbg \
moreutils \

View File

@ -180,7 +180,7 @@ function get_profiles_watchdog
{
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)
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 ||:
cat profile-errors.log >> report-errors.rep
clickhouse-local --query "
create table queries engine File(TSVWithNamesAndTypes, 'queries.rep')
as select
@ -447,7 +449,7 @@ unset IFS
# Remember that grep sets error code when nothing is found, hence the bayan
# 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