forked from pola-rs/polars-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-fpdp3.sh
executable file
·40 lines (31 loc) · 1.22 KB
/
run-fpdp3.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#! /bin/sh
set -xe
export RUN_LOG_TIMINGS=1
export SCALE_FACTOR=${SCALE_FACTOR:-10.0}
export RUN_IO_TYPE=${RUN_IO_TYPE:-skip}
PATH_TIMINGS_FILENAME=${PATH_TIMINGS_FILENAME:-timings.csv}
VENV_FIREDUCKS=.venv-fireducks
VENV=.venv
# make data/tables_pyarrow_large where comment columns are large_string.
# pandas requires this dataset to avoid segv.
if test ! -d data/tables_pyarrow_large/scale-${SCALE_FACTOR}; then
LARGE_STRING_COMMENT=True PATH_TABLES=data/tables_pyarrow_large make tables-pyarrow
fi
# rm -f output/run/${PATH_TIMINGS_FILENAME}
export PATH_TABLES=data/tables_pyarrow
${VENV_FIREDUCKS}/bin/python -m queries.fireducks
${VENV_FIREDUCKS}/bin/python -m queries.fireducks
${VENV_FIREDUCKS}/bin/python -m queries.fireducks
# use data/tables_pyarrow for better performance
export PATH_TABLES=data/tables_pyarrow
${VENV}/bin/python -m queries.polars
${VENV}/bin/python -m queries.polars
${VENV}/bin/python -m queries.polars
export PATH_TABLES=data/tables_pyarrow
${VENV}/bin/python -m queries.duckdb
${VENV}/bin/python -m queries.duckdb
${VENV}/bin/python -m queries.duckdb
export PATH_TABLES=data/tables_pyarrow_large
${VENV}/bin/python -m queries.pandas
${VENV}/bin/python -m queries.pandas
${VENV}/bin/python -m queries.pandas