Skip to content

perf(search): Avoid idle query builder work - #120725

Draft
scttcper wants to merge 4 commits into
scttcper/react-aria-upgradefrom
scttcper/search-query-performance
Draft

perf(search): Avoid idle query builder work#120725
scttcper wants to merge 4 commits into
scttcper/react-aria-upgradefrom
scttcper/search-query-performance

Conversation

@scttcper

Copy link
Copy Markdown
Member

Stops building listbox contents while the combobox is closed, drops the duplicate recent search subscription, and skips the empty filter registry query. Also moves recent searches to apiOptions and keeps the Popper inputs stable.

index.spec.tsx Before After
average of two runs 28.08s 26.59s

about 5% faster, stacked on #120714

Don't build the listbox while the combobox is closed, avoid duplicate recent search subscriptions, and skip the empty filter registry query when it isn't used.

Also move recent searches onto apiOptions and keep overlay options stable. The query builder suite is about 5% faster.

Co-Authored-By: Codex <noreply@openai.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 28, 2026
scttcper and others added 2 commits July 27, 2026 21:56
Bring the CI fixes from #120714 into the stacked performance branch.

Co-Authored-By: Codex <noreply@openai.com>
knip correctly flags this since the options helper only supports the hook in the same file.

Co-Authored-By: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant