Skip to content

Route simple descendant chains through scoped lookups - #206

Merged
jdalton merged 1 commit into
dperini:masterfrom
jdalton:perf/descendant-routing
Sep 7, 2026
Merged

Route simple descendant chains through scoped lookups#206
jdalton merged 1 commit into
dperini:masterfrom
jdalton:perf/descendant-routing

Conversation

@jdalton

@jdalton jdalton commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Changes

  • Route simple descendant chains through scoped lookups when the estimated cost is lower.
  • Keep callbacks, element scopes, fragments, and legacy hosts on the normal route.
  • Preserve string-like selector argument conversion.
  • Keep route estimates separate from query results so mutations cannot return cached answers.

Validation

  • 554 Node tests passed; existing expected failures and browser skips remain.
  • 55 browser harness tests passed.
  • Type checking, lint, and formatting passed.
  • Combined coverage passed unchanged thresholds: 84.82% statements, 75.92% branches, 83.49% functions, and 83.62% lines.

Performance comparisons will use the updated benchmark harness.

@jdalton
jdalton force-pushed the perf/descendant-routing branch 4 times, most recently from 58b8347 to c78bb86 Compare September 7, 2026 14:52
@jdalton
jdalton force-pushed the perf/descendant-routing branch from c78bb86 to af2d2c2 Compare September 7, 2026 15:01
@jdalton
jdalton merged commit ae91bcf into dperini:master Sep 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant