mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fd9cdf3214
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48043 Adds a new `PerformanceTracing` API to replace `ReactPerfLogger` and `FuseboxTracer`. - Mostly a clone of `FuseboxTracer`, with small refactorings. - Exposes a new `CdpTracing.h` header, intended for shared CDP/Chrome types (that will later propagate through to the runtime impl of `performance.mark,measure()`). - These live in a new `jsinspector_tracing` library, to avoid a dependency cycle. **Key change**: With both diffs, `PerformanceTracer` is added to `PerformanceEntryReporter` to initially wire up the `performance.measure` event — replacing the previous routing. - `FuseboxTracer` remains load-bearing for the out-of-tree call to `stopTracingAndWriteToFile()`. Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D66650181 fbshipit-source-id: 9092257f23cdb8746e69f5ff3eb7dbf4c8142938