Optimize indexed query latency #36

Merged
JayKobe6k merged 1 commit from optimize-query-latency into main 2026-09-07 01:26:02 +00:00
Owner

Summary

  • materialize declaration classification and fallback search context while indexing
  • remove the expensive source-graph reconstruction join from value searches
  • cache enum statements and reduce redundant integration-test subprocesses
  • keep the complete database schema at version 1

Performance

  • tiny persisted value query: ~7.15s to ~0.50s end to end
  • value-search integration suite: ~38s to ~18s

Tests

  • nix develop --command cargo fmt --all -- --check
  • nix develop --command cargo lint
  • nix develop --command cargo test --all-targets --all-features
  • nix develop --command cargo doc --no-deps --all-features
## Summary - materialize declaration classification and fallback search context while indexing - remove the expensive source-graph reconstruction join from value searches - cache enum statements and reduce redundant integration-test subprocesses - keep the complete database schema at version 1 ## Performance - tiny persisted value query: ~7.15s to ~0.50s end to end - value-search integration suite: ~38s to ~18s ## Tests - `nix develop --command cargo fmt --all -- --check` - `nix develop --command cargo lint` - `nix develop --command cargo test --all-targets --all-features` - `nix develop --command cargo doc --no-deps --all-features`
Optimize indexed query latency
All checks were successful
Validate / Formatting, linting, and tests (pull_request) Successful in 4m36s
230e8ae856
JayKobe6k deleted branch optimize-query-latency 2026-09-07 01:26:03 +00:00
Sign in to join this conversation.
No description provided.