Skip to content

Commit

Permalink
include duckdb in run_benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxEmanuel committed Nov 18, 2023
1 parent 6d1bcce commit e982328
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run_benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ rm -f mnist/gd_mnist.csv
(cd mnist && $UMBRASQL < mnist_bench.sql)
(cd mnist && ./mnist_sql92_bench.sh | $UMBRASQL)

# run DuckDB baseline
(cd iris && python3 duckdb_iris.py > duckdb_iris.csv)
(cd mnist && python3 duckdb_mnist.py > duckdb_mnist.csv)

# PSQL (takes time)
echo "create or replace function sig(x float) returns float as 'select 1::float/(1+exp(-x))' LANGUAGE 'sql';" | psql
(cd iris && ./iris_sql92_psql_bench.sh | psql | grep Time > psql_nn.csv)
Expand Down

0 comments on commit e982328

Please sign in to comment.