SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Avoid copies when dispatching TraceEvent chunks (#52868)

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

# Changelog: [Internal]

Mainly, 2 changes:
- Callback that emits `Tracing.dataCollected` events will receive chunks as rvalues refs (`&&`), instead of `const &`.
- The RuntimeSamplingProfile will be passed to the serializer as rvalue ref.

Reviewed By: huntie

Differential Revision: D78919223

fbshipit-source-id: 7f65e0627c8839d507e6b2d088fdb0b560906b6a
R
Ruslan Lesiutin committed
75d6cb1138a945935cbc7a05dfd9c7f7ca060fa6
Parent: 3cf11a3
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 7/28/2025, 2:12:17 PM