You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Salsa's NEVER_CHANGE durability for program, project, and newly created file inputs during one-shot ty check runs. This avoids recording unnecessary dependencies while keeping fixes, watch mode, and the server incremental.
Builds on #26353. Across the eight wall-time projects, the change reduced wall time by 6.2% geomean and peak RSS by 11.3% geomean.
Test Plan
Testing: Passed the ty CLI, ruff_db, and ty_project test suites, Clippy, and repository hooks.
Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 94.47%. The percentage of expected errors that received a diagnostic held steady at 89.19%. The number of fully passing files held steady at 95/134.
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
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
performancePotential performance improvementtyMulti-file analysis & type inference
1 participant
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
Use Salsa's
NEVER_CHANGEdurability for program, project, and newly created file inputs during one-shotty checkruns. This avoids recording unnecessary dependencies while keeping fixes, watch mode, and the server incremental.Builds on #26353. Across the eight wall-time projects, the change reduced wall time by 6.2% geomean and peak RSS by 11.3% geomean.
Test Plan
Testing: Passed the ty CLI, ruff_db, and ty_project test suites, Clippy, and repository hooks.