mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48923 # Changelog: [Internal] Starting from this diff, React Native will emit inspector traces, the ones that will have the same UI as if it was recorded in a browser. We are going to fake it by sending "TracingStartedInPage" event. For a corresponding logic on Chrome DevTools Frontend side, see [this](https://github.com/ChromeDevTools/devtools-frontend/blob/192673131cf3e6e0bcdb4a97bd0bd39c75f1b3c2/front_end/models/trace/handlers/MetaHandler.ts#L68-L80) as a starting point. Because of this, custom tracks are now grouped under "Timings" track, although with a better color scheme: - We no longer need the logic for placing tracks under arbitrary thread ids to have them grouped. - The real support for extension tracks (custom tracks for Performance panel) will be added in the next diff. Reviewed By: huntie Differential Revision: D68439734 fbshipit-source-id: 8e5c525a71578375904edc6d473308eb710b5867