Skip to content

[ty] Reduce memory usage of Scope#24392

Closed
AlexWaygood wants to merge 2 commits intoalex/optimize-reachabilityfrom
alex/scope-memory
Closed

[ty] Reduce memory usage of Scope#24392
AlexWaygood wants to merge 2 commits intoalex/optimize-reachabilityfrom
alex/scope-memory

Conversation

@AlexWaygood
Copy link
Copy Markdown
Member

Summary

Test Plan

@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Apr 3, 2026
@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 3, 2026

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 86.92%. The percentage of expected errors that received a diagnostic held steady at 82.66%. The number of fully passing files held steady at 73/132.

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 3, 2026

Memory usage report

Summary

Project Old New Diff Outcome
flake8 47.99MB 47.96MB -0.05% (23.05kB) ⬇️
trio 117.75MB 117.71MB -0.04% (42.48kB) ⬇️
sphinx 264.63MB 264.56MB -0.03% (72.38kB) ⬇️
prefect 716.92MB 716.74MB -0.03% (185.62kB) ⬇️

Significant changes

Click to expand detailed breakdown

flake8

Name Old New Diff Outcome
semantic_index 13.71MB 13.69MB -0.16% (23.05kB) ⬇️

trio

Name Old New Diff Outcome
semantic_index 29.94MB 29.90MB -0.14% (42.48kB) ⬇️

sphinx

Name Old New Diff Outcome
semantic_index 61.01MB 60.94MB -0.12% (72.38kB) ⬇️

prefect

Name Old New Diff Outcome
semantic_index 172.11MB 171.93MB -0.11% (185.62kB) ⬇️

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 3, 2026

ecosystem-analyzer results

Lint rule Added Removed Changed
invalid-await 0 40 0
invalid-return-type 0 1 0
Total 0 41 0

Changes in flaky projects detected. Raw diff output excludes flaky projects; see the HTML report for details.

Full report with detailed diff (timing results)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant