perf(validation): speed root search perf harness - #574
Closed
JustYannicc wants to merge 73 commits into
Closed
Conversation
(cherry picked from commit 290a0f5)
(cherry picked from commit 3739cb0)
(cherry picked from commit c78d0b9)
…ated-integration-stack
…ated-integration-stack # Conflicts: # src/renderer/src/raycast-api/hooks/use-cached-promise.ts
…ated-integration-stack
…ated-integration-stack # Conflicts: # src/renderer/src/raycast-api/list-runtime-renderers.tsx # src/renderer/src/raycast-api/list-runtime.tsx
…ated-integration-stack # Conflicts: # src/renderer/src/CameraExtension.tsx
…ated-integration-stack
…ated-integration-stack # Conflicts: # src/renderer/src/raycast-api/list-runtime.tsx
…ated-integration-stack
…ated-integration-stack
… into codex/perf-consolidated-integration-stack
JustYannicc
force-pushed
the
codex/perf-root-search-test-harness
branch
from
July 4, 2026 10:52
9f6a09b to
ba8cced
Compare
Collaborator
Author
|
Superseded by the consolidated validation PR: #578 |
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.
What changed
Changed the default sample size for scripts/test-root-search-perf.mjs from 6000 commands, 6 measured iterations, and 1 warmup to 2000 commands, 1 measured iteration, and 0 warmups.
Why
The root-search perf harness dominated default script validation time while still supporting explicit env overrides for heavier local benchmarking.
Compatibility impact
No runtime behavior changes. Existing SUPERCMD_ROOT_SEARCH_PERF_COMMANDS, SUPERCMD_ROOT_SEARCH_PERF_ITERATIONS, and SUPERCMD_ROOT_SEARCH_PERF_WARMUPS overrides continue to work for larger or warmer samples.
How tested
Performance evidence
Before: node --test scripts/test-root-search-perf.mjs used commands=6000 queries=8 iterations=6 warmups=1, duration_ms=27713.241292, real 27.79s.
After: node --test scripts/test-root-search-perf.mjs uses commands=2000 queries=8 iterations=1 warmups=0, duration_ms=2301.850125, real 2.38s.
Full script stack after change: node --test 'scripts/test-*.mjs' passed in real 12.58s with 235 passing, 1 skipped, 0 failed.
Stack validation
Built from codex/fix-validation-esbuild-platform-install at 15ee435, preserving the integrated validation stack. The focused root-search harness passed after the rebase; prior full scripts suite evidence remains above.
Replaces
None.