Closed jkelleyrtp closed 1 month ago
this really leads us into a visualizer/flamegraph/tracing system for the entire dom. there's a decent bit of tracing in now thanks to many different PRs, but none yet that satisfy the long term goal (which is tracked elsewhere)
Specific Demand
It'd be great to get a timeline view of events in the virtualdom and know which async tasks and component renders are taking a log time.
Implement Suggestion
Tracing + a custom subscriber seems like the ideal solution here. Specifically, we can enter spans and hop around async frames with little hassle.
A future devtool would be able to leverage a dedicated subscriber and show the logging over time.