Performance Benchmarks
Memory and latency measurements from the walrust benchmark suite.
Quick Results
Section titled “Quick Results”Memory
Section titled “Memory”Memory usage (RSS) when watching multiple databases:
| Databases | walrust | litestream | Reduction |
|---|---|---|---|
| 1 | 19 MB | 36 MB | 47% |
| 10 | 19 MB | 55 MB | 65% |
| 100 | 20 MB | 160 MB | 88% |
Change Detection
Section titled “Change Detection”| Databases | p50 Latency | p99 Latency |
|---|---|---|
| 10 | < 5ms | < 15ms |
| 100 | < 10ms | < 50ms |
Startup Time
Section titled “Startup Time”| Databases | Startup Time |
|---|---|
| 10 | < 100ms |
| 100 | < 500ms |
| 1000 | < 3s |
Running Benchmarks
Section titled “Running Benchmarks”To run the benchmark suite locally:
# Start MinIO for S3-compatible storagemake bench-minio
# Run all benchmarksmake bench-all
# Or run individual benchmarksmake bench-compare # Memory/CPU comparisonmake bench-multidb # Multi-database performancemake bench-realworld # Sync latency, restore, throughput
# Stop MinIO when donemake bench-minio-stopJSON Output
Section titled “JSON Output”All benchmarks support JSON output for CI integration:
python bench/compare.py --use-minio --json > results.jsonLearn More
Section titled “Learn More”- Methodology - How benchmarks are run
- Latest Results - Detailed benchmark data