Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Performance

Koyal’s launch profile favors fast release binaries and predictable runtime storage:

  • Release builds use high optimization, LTO, fewer codegen units, stripped symbols, and aborting panics.
  • SQLite memory enables WAL mode, NORMAL synchronous writes, in-memory temp storage, and a busy timeout.
  • Recall uses FTS5 prefix queries with a LIKE fallback when FTS is unavailable.
  • The Dockerfile separates dependency resolution from source compilation for better BuildKit cache reuse.

Run the benchmark suite:

scripts/perf/bench.sh

For release-size guardrails and detailed notes, see docs/performance.md.