GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — checker builds member tables and intersection props it never uses · Issue #64474 · microsoft/TypeScript Closed Labels Milestone Description🔎 Search Termsmemory, oom, resolveObjectTypeMembers, getReducedType 🙁 Actual behaviorwe have a ~37k file TS program at work and checking it on 7.0 needs ~13 GiB of heap single threaded (~16 GiB peak), and about double that with the default 4 checkers. people keep running out of memory, esp with the editor open too i profiled it and there are two spots where the checker builds a ton of stuff it never uses:
🙂 Expected behavioronly build what's needed. i have changes for both that give the same output as main. full go test suite passes (also with multiple checkers and typescript-benchmarking tsc scenarios with both changes, 4 checkers, median of 3:
single threaded looks about the same (vscode −8% heap, mui-docs −35%). the intersection change is basically all of the mui-docs win and the member change is the ~8-10% on everything else. on our own program heap goes 13.1 → 10.4 GiB output matched main on every run except TS6059 on mui-docs, but that one flakes on main too (#64477) opened #64475 (members) and #64476 (intersections) as drafts. #64475 overlaps with #64372, and a lot of the complexity in it is there to keep the half built members behavior that #64372 removes. so if that lands first ill rebase and it should get a lot simpler Additional information about the issue
fwiw i used claude code for a lot of the digging and the code. ive reviewed it and ill be the one following up on review Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |