Repository navigation
perf: share lazy semantic and outline indices - #4
Merged
Merged
Conversation
Cache declaration enumeration, file grouping, ID lookup and reverse hierarchy independently on the snapshot. Share typed-data navigation before hover presentation and cache requested-file outlines. Preserve parent/child ordering and navigate multiple-inheritance wrappers to their bound declarations. A/B vs 3912118: service-navigation/unwrap time -17.0% (4.1% noise), peak -3.8%, kept +2.9%. Snapshot-first mixed time -8.3% (6.9% noise), peak +5.7%, kept +7.5%; source-first time within 19.4% noise, peak +3.4%, kept +7.5%. Accept the about 1.93 MB snapshot-local retention, chiefly the outline cache. Hover/inlay times stay within noise, kept +0.7%/+1.0%. Diagnostic-only query caches remain unpopulated, with allocation effectively unchanged. Add a sparse three-edit navigation workload with fixed request counts and timing/allocation reach checks. Keep recovery documentation technical and recorded import/checkout paths relative, including wrong-checkout errors. Gate: Ruff, format, strict mypy, 5879 passed/69 skipped/1 xfailed. Navigation and both mixed linearity checks pass. Record phase/noise limits and cache ownership. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deiteris
force-pushed
the
perf/service-shared-indices
branch
from
October 10, 2026 20:38
60dcb0c to
2f1b63c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Performance and acceptance
A/B control: 3912118. Navigation sequence time -17.0% (4.1% noise), peak -3.8%, retained +2.9%. Snapshot-first mixed sequence time -8.3% (6.9% noise), peak +5.7%, retained +7.5%. Source-first time remains within 19.4% noise, peak +3.4%, retained +7.5%. Times cover three edit/query cycles.
The full bundle is accepted with about 1.93 MB additional snapshot-local mixed retention, chiefly the outline cache (about 1.74 MB measured by release). Diagnostic-only allocation is effectively unchanged; no diagnostics speedup is attributed to query caches. Cold hover/inlay times remain within noise.
Report: docs/reports/2026-10-10/service-shared-indices.md.
Verification
🤖 Generated with Claude Code