File size: 1,540 Bytes
2eae90c |
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
SHELL=/bin/bash
PYTHON=.venv/bin/python
.venv:
@python -m venv .venv
@.venv/bin/pip install -U pip
@.venv/bin/pip install --no-cache-dir -r requirements.txt
.fireducks:
@python -m venv .fireducks
@.venv/bin/pip install -U pip
@.venv/bin/pip install --no-cache-dir -r requirements-fireducks.txt
clean-tpch-dbgen:
$(MAKE) -C tpch-dbgen clean
clean-venv:
rm -r .venv
clean-tables:
rm -r tables_scale_*
clean: clean-tpch-dbgen clean-venv
tables_scale_1: .venv
$(MAKE) -C tpch-dbgen all
cd tpch-dbgen && ./dbgen -vf -s 1 && cd ..
mkdir -p "tables_scale_1"
mv tpch-dbgen/*.tbl tables_scale_1/
.venv/bin/python prepare_files.py 1
tables_scale_10: .venv
$(MAKE) -C tpch-dbgen all
cd tpch-dbgen && ./dbgen -vf -s 10 && cd ..
mkdir -p "tables_scale_10"
mv tpch-dbgen/*.tbl tables_scale_10/
.venv/bin/python prepare_files.py 10
run_polars: .venv
.venv/bin/python -m polars_queries.executor
run_pandas: .venv
.venv/bin/python -m pandas_queries.executor
run_fireducks: .fireducks
.fireducks/bin/python -m fireducks_queries.executor
run_dask: .venv
.venv/bin/python -m dask_queries.executor
run_modin: .venv
.venv/bin/python -m modin_queries.executor
run_vaex: .venv
.venv/bin/python -m vaex_queries.executor
run_spark: .venv
.venv/bin/python -m spark_queries.executor
run_duckdb: .venv
.venv/bin/python -m duckdb_queries.executor
plot_results: .venv
.venv/bin/python -m scripts.plot_results
run_all: run_polars run_pandas run_fireducks
pre-commit:
.venv/bin/python -m isort .
.venv/bin/python -m black .
|