SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

Map SystraceSection to Perfetto instrumentation if the latter is enabled (#48379)

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

## Changelog:
[Internal] -

We have a good portion of RN core code already instrumented with `SystraceSection` blocks, and those do the timing via fbsystrace, which may or may not be enabled in the system and generally is obsolete.

This maps the blocks to the corresponding Perfetto instrumentation, in case the latter is enabled, which will allow to get this information in Perfetto sessions without need to have fbsystrace present.

Reviewed By: javache

Differential Revision: D67619443

fbshipit-source-id: 52e5666472ad118fbec176a0e82d72a5200a358a
R
Ruslan Shestopalyuk committed
17a644a230d2db63790138ce4880485f263a9e53
Parent: 74bdab8
Committed by Facebook GitHub Bot <[email protected]> on 12/24/2024, 3:47:50 PM