tsperf / tracer

A VSCode extension to measure type complexity within a project.
https://tsperf.dev
MIT License
157 stars 4 forks source link

Investigate live trace runs #3

Open typeholes opened 6 months ago

typeholes commented 6 months ago

Doing in process traces using ts lib would allow us to provide more information in an on-demand manner. For example, types.json only includes the display field when it is cheap to generate. With a live trace we could generate the displays as needed.

As a side benefit, in memory fs should reduce skew due to IO overhead during tracing.

typeholes commented 5 months ago

partially implemented with the ability to run a command to do traces and automatically send them to the viewer.

live via ts lib still should be investigated but is low priority

typeholes commented 5 months ago

this is higher priority now as it enables much more functionality. It can't be done in process without blocking the event loop and freezing the vscode UI, so I'm working on a server we can spawn and communicate with via web sockets