limbo/perf/connection
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
..
limbo add a benchmark for connection time versus number of tables 2025-07-01 20:10:21 -05:00
rusqlite add a benchmark for connection time versus number of tables 2025-07-01 20:10:21 -05:00
gen-database.py add a benchmark for connection time versus number of tables 2025-07-01 20:10:21 -05:00
gen-databases add a benchmark for connection time versus number of tables 2025-07-01 20:10:21 -05:00
plot.py add a benchmark for connection time versus number of tables 2025-07-01 20:10:21 -05:00
README.md add a benchmark for connection time versus number of tables 2025-07-01 20:10:21 -05:00

Connection benchmarks

Run the following in rusqlite and limbo directories:

./gen-databases
./run-benchmark.sh

This benchmark tests the time it takes to open a connection to databases with varying numbers of tables (1,000, 10,000, and 100,000 tables).