-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Support control flow analysis for tagged template calls #53962
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
Conversation
The TypeScript team hasn't accepted the linked issue #51426. If you can get it accepted, this PR will have a better chance of being reviewed. |
@typescript-bot perf test this |
Heya @sandersn, I've started to run the perf test suite on this PR at de96190. You can monitor the build here. Update: The results are in! |
@sandersn Here they are:
CompilerComparison Report - main..53962
System
Hosts
Scenarios
TSServerComparison Report - main..53962
System
Hosts
Scenarios
StartupComparison Report - main..53962
System
Hosts
Scenarios
Developer Information: |
I'm surprised that there are significant deltas with |
All CI runs on the merge-head, which is main + the PR. That being said, there inherent noise. @typescript-bot perf test this faster |
Heya @jakebailey, I've started to run the abridged perf test suite on this PR at de96190. You can monitor the build here. Update: The results are in! |
@jakebailey Here they are:Comparison Report - main..53962
System
Hosts
Scenarios
Developer Information: |
The results look like noise. On the other hand, control flow changes can slow down the binder (more allocation) and the checker (more nodes to iterate over). |
However, the bug still needs to be accepted for us to review this. Knowing that the change isn't horribly slow helps make the case for it, but it's marked "Awaiting More Feedback", which means that we're waiting for more people to agree that they need this and add more examples of usage. |
To help with PR housekeeping, I'm going to close this PR since it's pretty old now. We can reopen and merge with main if its bug gets accepted. |
Fixes #51426. Note that it's not on the
Backlog
milestone, but the issue hasn't had any activity for a month so I thought I'd try sending a PR for review anyway.