Repository navigation
perf: keep the scan's analysis between shots, and share e2e example copies - #48
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
koji-1009
force-pushed
the
perf/e2e-speed
branch
from
November 1, 2026 13:26
71be357 to
ab4fbf6
Compare
Merged
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.
The e2e job took over nine minutes of CI, and every
shotresolved Flutter from scratch: about three seconds before anything rendered, paid again on each shot even within one process.How it works
Scannerkeeps the analysis of a project between scans in one process. A later scan of the same project tells the analyzer only of the files that changed since: every file an earlier scan read, through imports, exports, and parts, is compared by modification time and size, including files that were missing then.package_config.json, oranalysis_options.yamlchanged; the replaced analysis is disposed of once the scans using it end.shotfrom Dart and the e2e tests, which run shutter in process, gain from it; the CLI runs once per process and behaves as before.example/, so the copy,pub get, its compiled test, and its analysis carry over from test to test. Tests that replace or delete the shell, add a package, or need an empty google_fonts cache keep their own copy.Measured locally
shotof the same file again, in one processshotof five preview files, after another shotdart test -P e2e🤖 Generated with Claude Code