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

ty-find uses a background daemon to keep the ty LSP server running between calls. The first call starts the daemon and waits for LSP initialization, which is slower. Subsequent calls reuse the running server and respond quickly.

Benchmarks

Benchmarks are run as part of CI. See tests/bench_* for the test code.

OperationFirst call (cold daemon)Subsequent calls (warm)
showTBDTBD
findTBDTBD
refsTBDTBD

These numbers will be filled in with real measurements from the benchmark suite.

What affects performance

  • Project size: Larger Python projects take longer for the initial LSP indexing.
  • Daemon state: Cold starts include daemon spawn + LSP initialization. Warm calls skip both.
  • Disk I/O: First call after a file change triggers re-indexing by the LSP server.