Narrow unions to the narrowest constituent on assignment - #47975
Narrow unions to the narrowest constituent on assignment#47975Zzzen (Zzzen) wants to merge 1 commit into
Conversation
|
TypeScript Bot (@typescript-bot) user test this |
|
Heya Ryan Cavanaugh (@RyanCavanaugh), I've started to run the parallelized community code test suite on this PR at ead264a. You can monitor the build here. |
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
|
TypeScript Bot (@typescript-bot) test this |
|
Heya Ryan Cavanaugh (@RyanCavanaugh), I've started to run the extended test suite on this PR at ead264a. You can monitor the build here. |
|
TypeScript Bot (@typescript-bot) perf test this |
|
Heya Ryan Cavanaugh (@RyanCavanaugh), I've started to run the perf test suite on this PR at ead264a. You can monitor the build here. Update: The results are in! |
|
Ryan Cavanaugh (@RyanCavanaugh) Here they are:Comparison Report - main..47975
System
Hosts
Scenarios
Developer Information: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I don't think we can take this as-is (Compiler Unions project is fairly representative of union-heavy codebases) given the original bug isn't super compelling. |
|
Can we re-open this PR and rebase to recheck the performance now? I'm actually running into this problem, the ergonomics are not great. |
|
The performance is unlikely to change. But it could be improved by caching. Do you know how to try the performance test suite at home? Ryan Cavanaugh (@RyanCavanaugh) |

Fixes #47731