feature: add deterministic editor performance lab - #3107
Draft
SimonSiefke wants to merge 9 commits into
Draft
Conversation
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
Fresh-agent trials
The first fresh agent retained no patch. Identical builds appeared 4.69% different with a CI of -13.56% to +3.60%, and bundled Copilot was present despite
--disable-extensions.After refinement, a 24-sample-per-arm A/A correctly became
invalid: -2.44%, CI -11.52% to +5.82%. Its 8.67% interval half-width cannot detect a 5% target. Copilot was absent and semanticcode/*phases were populated.A second fresh agent then used deterministic mechanism exploration without delaying behavior. Across three exact runs per arm it found:
Every claimed counter had 0% variation. The combined action ceiling was below 0.4%, far below local timing resolution, so the patch was saved as a mechanism candidate and reverted rather than described as a speedup.
The trial refined the loop further:
proxy-winor UX claimsVerdict and validation
A proxy win requires less stable deterministic work and a latency CI upper bound at or below +2%. A UX-confirmed result additionally requires a renderer-latency CI excluding zero. Profiles and instrumented samples never enter scoring.
This PR changes the benchmark and performance lab only. It claims no VS Code speed improvement and retains no VS Code patch.