-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Narrow unions to the narrowest constituent on assignment #47975
Conversation
@typescript-bot user test this |
Heya @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 test this |
Heya @RyanCavanaugh, I've started to run the extended test suite on this PR at ead264a. You can monitor the build here. |
@typescript-bot perf test this |
Heya @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! |
@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? @RyanCavanaugh |
Fixes #47731