| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) perf test this |
Sorry, something went wrong.
|
Heya Andrew Branch (@andrewbranch), I've started to run the perf test suite on this PR at 0ea8d79. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
Sorry, something went wrong.
|
Andrew Branch (@andrewbranch) Comparison Report - master..36688
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sorry, something went wrong.
|
Ouch |
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) perf test this please and thank you |
Sorry, something went wrong.
|
Heya Andrew Branch (@andrewbranch), I've started to run the perf test suite on this PR at 6ff9c2b. You can monitor the build here. It should now contribute to this PR's status checks. |
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) perf test this |
Sorry, something went wrong.
|
Heya Andrew Branch (@andrewbranch), I've started to run the perf test suite on this PR at 6ff9c2b. You can monitor the build here. It should now contribute to this PR's status checks. |
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) perf test this or else |
Sorry, something went wrong.
|
Heya Andrew Branch (@andrewbranch), I've started to run the perf test suite on this PR at 6ff9c2b. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
Sorry, something went wrong.
|
Andrew Branch (@andrewbranch) Comparison Report - master..36688
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sorry, something went wrong.
|
Ron Buckton (@rbuckton) this is still in-progress, but would you mind taking a look and seeing if anything jumps out at you perf-wise? For a tsc run, the emitter should be doing almost exactly the same work as before, because preserveNewlines will always be false. The only computational differences should be trivial equality/truthiness checks and arithmetic, so I’m wondering if something I changed is triggering a deopt. The latest results show emit time up 1–4%. |
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) perf test this again please |
Sorry, something went wrong.
|
Heya Andrew Branch (@andrewbranch), I've started to run the perf test suite on this PR at e3ef427. You can monitor the build here. It should now contribute to this PR's status checks. |
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) perf test this |
Sorry, something went wrong.
|
Heya Andrew Branch (@andrewbranch), I've started to run the perf test suite on this PR at e535e27. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
Sorry, something went wrong.
|
Andrew Branch (@andrewbranch) Comparison Report - master..36688
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) perf test this |
Sorry, something went wrong.
|
Heya Andrew Branch (@andrewbranch), I've started to run the perf test suite on this PR at e7c2b28. You can monitor the build here. Update: The results are in! |
Sorry, something went wrong.
|
Andrew Branch (@andrewbranch) Comparison Report - master..36688
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) perf test this |
Sorry, something went wrong.
|
Heya Andrew Branch (@andrewbranch), I've started to run the perf test suite on this PR at e99d833. You can monitor the build here. Update: The results are in! |
Sorry, something went wrong.
|
Andrew Branch (@andrewbranch) Comparison Report - master..36688
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) perf test this again please |
Sorry, something went wrong.
|
Heya Andrew Branch (@andrewbranch), I've started to run the perf test suite on this PR at 6daa27e. You can monitor the build here. Update: The results are in! |
Sorry, something went wrong.
|
Andrew Branch (@andrewbranch) Comparison Report - master..36688
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sorry, something went wrong.
|
Results are a little scattered but seem to be plausibly within ~1% difference |
Sorry, something went wrong.
There was a problem hiding this comment.
Code seems more straightforward than the last time I read this. The changes to the existing tests look good to me.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #27294
I feel like some of this logic looks kind of ugly, but the perf impact for normal compiler runs is down to nothing, so I’m ready to get some fresh eyes on this.
Note that this is still dependent on the emitter actually checking for source newlines between tokens, which it was already pretty good about, but there may still be some cases where newlines get removed. Additionally, the formatter runs after TextChanges, and so any formatter rules that add or remove newlines will take priority. But, this more than addresses the example given in #27294, which was just about newlines between full statements/declarations. Generally, preserving newlines in anything that’s a list works quite well, and I think that’s likely to be what people care most about (followed by chained property access and nested binary expressions, which are also tested here).