mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-20 01:44:19 +01:00
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.
12 lines
357 B
Bash
Executable File
12 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."
|