resqlite Benchmark Dashboard

Loading benchmarks...

resqlite
sqlite3 (raw FFI)
sqlite_async (PowerSync)
Loading benchmark data...

Notes on Methodology

All times are wall-clock medians in ms (lower is better) from 3-repeat runs. Point query is queries/sec (higher is better).

Benchmark conditions: All libraries use the same SQL queries, same data, and WAL mode. sqlite_async's write throttle is disabled (Duration.zero) for fair latency comparison. sqlite3 runs synchronously on the calling thread — this is by design, not a misconfiguration.

What these benchmarks don't measure: Memory footprint (resqlite's persistent isolate pool uses more memory than sqlite3's single-connection model), battery impact under sustained streaming, or cold-start time. resqlite is optimized for Flutter apps where main-isolate time is the primary constraint. For synchronous workloads or simpler architectures, sqlite3 and sqlite_async may be better fits.

Run dart run benchmark/run_all.dart "your-device" --repeat=3 and submit a PR to add your device.