Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jyelewis/sqlite-insert-benchmark
Testing how quick sqlite3 can injest rows
https://github.com/jyelewis/sqlite-insert-benchmark
Last synced: about 1 month ago
JSON representation
Testing how quick sqlite3 can injest rows
- Host: GitHub
- URL: https://github.com/jyelewis/sqlite-insert-benchmark
- Owner: jyelewis
- Created: 2022-10-05T10:43:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-05T10:47:27.000Z (over 2 years ago)
- Last Synced: 2024-10-15T22:13:40.337Z (3 months ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Sqlite insert benchmark
Quick & dirty test of how quickly sqlite will accept rowsUses insert batching & an in-memory database
## Running locally
1. Clone this repo
2. `cargo run`## Results
```
Tested on M1 Macbook Pro
Batch size : rows per second
50 : 1_290_988
100 : 1_310_272 <-- peak
250 : 1_221_597
500 : 1_182_732
1_000 : 1_162_250
10_000: 1_110_494
50_000: 867_603
```