launchbadge/sqlx
Vedi su GitHubAdd benchmarks to inform performance-oriented refactoring
Open
#158 aperta il 26 mar 2020
enhancementhelp wanted
Metriche repository
- Star
- (13.916 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
- Establish a new connection.
- Checkout an existing ( and idle ) connection from the pool.
- Ping a connection.
- Small query, small results ( following the specs over at tech empower: https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Project-Information-Framework-Tests-Overview#single-database-query ). Do nothing with the results.
- Small query, huge results ( 10K rows with at least 5 columns where 2 of the columns are
StringandVec<u8>). Do nothing with the results.
Preferably these can run locally with a single script that uses docker to spin up/down database servers as needed to test all supported databases and versions.
I'm imagining a bench/ or perf/ folder that contains a run.sh script that does the "magic" but I'm pretty open here.
Update: We now have a docker-compose file that can spin up a database/version pair. This was one of the blockers here.