Add tracing support to tsserver#41374
Conversation
|
The PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
|
I'm a little nervous about the perf implications of the try-finally blocks, but the change is largely useless without them. Oh wait: I can probably drop them from all the checker tracepoints that are ignored. Edit: They were (a) fast and (b) unnecessary. |
|
@sheetalkamat If you know that some of these other try-finally unblocks are unnecessary, because they're wrapping uncancellable code, please let me know. |
|
Seems to work in both VS and VS Code without editor changes (though both might want to control it directly). |
|
@typescript-bot perf test this |
|
Heya @amcasey, I've started to run the perf test suite on this PR at cea3fc0. You can monitor the build here. Update: The results are in! |
|
@typescript-bot pack this |
|
@amcasey Here they are:Comparison Report - master..41374
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
@typescript-bot pack this |
|
Hey @amcasey, I've packed this into an installable tgz. You can install it for testing by referencing it in your and then running There is also a playground for this build. |
|
FYI @mjbvz, in case a corresponding VS Code setting is desirable. |
elibarzilay
left a comment
There was a problem hiding this comment.
The thing that bugs me most is the thing about the nested try-catch-es.
|
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
|
@typescript-bot perf test this |
|
Heya @amcasey, I've started to run the perf test suite on this PR at 90dde84. You can monitor the build here. Update: The results are in! |
|
@amcasey Here they are:Comparison Report - master..41374
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
90dde84 to
3346d67
Compare
|
@elibarzilay I've pulled out a shared helper from |
Read the
TSS_TRACEenvironment variable to determine which directory trace files should be written to.Notable changes from tsc tracing: