Compatible benchmark

This commit is contained in:
Alexey Milovidov 2022-06-27 00:39:23 +02:00
parent 424765f596
commit c953edbe38
2 changed files with 4 additions and 1 deletions

View File

@ -3,5 +3,8 @@
cat queries.sql | while read query; do
sync
echo 3 | sudo tee /proc/sys/vm/drop_caches >/dev/null
# We need to restart and reinitialize DuckDB after every query,
# because it often fails with Segmentation fault (core dumped)
./query.py <<< "${query}"
done

View File

@ -16,7 +16,7 @@ sudo mysql -e "CREATE DATABASE test"
sudo mysql test < create.sql
time sudo mysql test -e "LOAD DATA LOCAL INFILE 'hits.tsv' INTO TABLE hits"
# 2:37:52 elapsed
#
./run.sh 2>&1 | tee log.txt