limbo/perf/throughput
Pekka Enberg f10431d24f perf/throughput: Improve reproducibility
Improve reproducibility by documenting the steps needed to run the
benchmarks and generate the plots. Also simplify plot generation a bit.
2025-10-28 15:08:53 +02:00
..
plot perf/throughput: Improve reproducibility 2025-10-28 15:08:53 +02:00
rusqlite perf/throughput: Use connection per transaction in rusqlite benchmark 2025-10-23 16:28:24 +03:00
turso add tokio console to write-throughput test 2025-10-14 12:33:36 -03:00
README.md perf/throughput: Improve reproducibility 2025-10-28 15:08:53 +02:00

Turso throughput benchmark

This directory contains Turso throughput benchmark.

First, run the benchmarks:

cd rusqlite
./scripts/bench.sh > ../plot/sqlite.csv

cd turso
./scripts/bench.sh > ../plot/turso.csv

Then, generate the plots:

cd plot
uv run plot-thread-scaling.py turso.csv sqlite.csv
uv run plot-compute-impact.py turso.csv sqlite.csv

This will generate:

  • thread-scaling.pdf: Write throughput vs. number of threads (scalability test)
  • compute-impact.pdf: How CPU-bound work affects write throughput