Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# Sqlite insert benchmark
Quick & dirty test of how quickly sqlite will accept rows

Uses 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
```