SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Add CDP frame events (#54249)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/54249

Scaffolding for the bare minimum events needed to have frames show up on the performance timeline.

layerTreeId hardcoded to `1` for now.

Support for dropped and idle frames to be added later, full list can be found here https://github.com/facebook/react-native-devtools-frontend/blob/main/front_end/models/trace/types/TraceEvents.ts#L2971. Some more thought needs to be put into how Android frame timing maps to these events.

{F1982947634}

Changelog: [Internal]

Reviewed By: rubennorte

Differential Revision: D85347959

fbshipit-source-id: 950b8866170e963dbb7e7ebbf0873ecb84676304
D
Devan Buggay committed
ce259c5a746de76204d541a6596c9bf64399c768
Parent: b9bdef6
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 11/4/2025, 2:55:38 AM