Skip to content

DevTools: Better linking between browser Performance tab and DevTools Profiler #16483

Open

Description

@bvaughn

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 and Profiler.stop the built-in profiler in sync with React's own profiler. Chrome's profiler also dispatches Profiler.consoleProfileStarted and Profiler.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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions