A framework for building native applications using React
Implement reporting InteractionEntry live metrics to runtime (#52839)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52839 **Context** Experimental V2 Performance Monitor prototype, beginning by bringing the [Interaction to Next Paint (INP)](https://web.dev/articles/inp) metric to React Native. **This diff** Adds and configures a `CdpMetricsReporter` class to report `InteractionEntry` live metrics over CDP via the `"__chromium_devtools_metrics_reporter"` runtime binding. **Notes** - Introduces a new `react/performance/cdpmetrics` package, and a listener API on `PerformanceEntryReporter` (both to avoid a `jni` dependency in `react/performance/timeline`). Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D78904748 fbshipit-source-id: c75971aba43d9929912b3d1dba7576c2a2342214
A
Alex Hunt committed
a3bf989450c5b12932c5f401cc587092bae3a812
Parent: f711d17
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 7/30/2025, 2:13:58 PM