limbo/perf/connection/gen-databases
Glauber Costa 471a95bd96 add a benchmark for connection time versus number of tables
SQLite performs poorly for connections as the number of tables increase.

Do we perform better? the same? worse?

Right now the answer is worse. Add a benchmark to help us compare.
2025-07-01 20:10:21 -05:00

11 lines
357 B
Bash
Executable file

#!/bin/bash
echo "Generating databases with different table counts..."
# Create databases with 1,000, 5,000, and 10,000 tables
python3 gen-database.py database_10.db -t 10
python3 gen-database.py database_1k.db -t 1000
python3 gen-database.py database_5k.db -t 5000
python3 gen-database.py database_10k.db -t 10000
echo "Database generation complete."