DevTools: Better linking between browser Performance tab and DevTools Profiler #16483
Labels
Component: Developer Tools
React Core Team
Opened by a member of the React Core Team
Type: Enhancement
Notes from a chat with Benoit:
It would be nice if starting profiling (or reload and profiling) in the browser auto-started profiling in DevTools.
It would also be nice if viewing a range of time in the Performance tab narrowed down the commits within the Profiler. At least starting the profilers at the same time would enable a manual match-up.
To my knowledge, none of the currently available APIs (including experimental) would enable us to support this level of integration.
If we were to make use of the DevTools protocol, we could
Profiler.start
andProfiler.stop
the built-in profiler in sync with React's own profiler. Chrome's profiler also dispatchesProfiler.consoleProfileStarted
andProfiler.consoleProfileFinished
events which we could use to follow the browser's profiler if we wanted to.There do not appear to be any APIs/events for syncing the zoomed-in range.
Originally reported via bvaughn/react-devtools-experimental#37
The text was updated successfully, but these errors were encountered: