A framework for building native applications using React
Add performance track for React Native renderer
Summary: Changelog: [General][Added] Add new custom track for React Native Renderer operations in React Native DevTools performance traces This diff adds performance tracking instrumentation to the React Native renderer to provide visibility into rendering operations in React Native Developer Tools traces. On Android (Kotlin), the MountItemDispatcher is updated to wrap key mounting operations (view commands, premount, and mount) with PerformanceTracer.trace calls. These traces appear on the "Renderer" track within the "⚛ Native" track group. On C++ (shared renderer), the ShadowTree::tryCommit method is instrumented with PerformanceTracerSection to track commit and layout operations. The commit trace includes metadata about the source of the commit (e.g., React). Reviewed By: NickGerleman Differential Revision: D97766334 fbshipit-source-id: 71ced2b6e43b6f07509ba5eebcc79cf745778000
R
Rubén Norte committed
0b1def9ce5f6f3ea66d193fd254cfcb4c16d6e5a
Parent: 6860ec7
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 3/24/2026, 12:52:37 PM