[Perf Tracks]: Clear potentially large measures (#34803)
Fixes https://github.com/facebook/react/issues/34770. We need to clear measures at some point, otherwise all these copies of props that we end up recording will allocate too much memory in Chromium. This adds `performance.clearMeasures(...)` calls to such cases in DEV. Validated that entries are still shown on Performance panel timeline.
R
Ruslan Lesiutin committed
b9ec735de248f46da181afbc12aa906422be0dba
Parent: 47905a7
Committed by GitHub <noreply@github.com>
on 10/13/2025, 9:42:13 PM