diff --git a/packages/react-native/Libraries/Core/setUpPerformance.js b/packages/react-native/Libraries/Core/setUpPerformance.js index 7aa5945d6f5517..3f91689eabbf28 100644 --- a/packages/react-native/Libraries/Core/setUpPerformance.js +++ b/packages/react-native/Libraries/Core/setUpPerformance.js @@ -20,7 +20,9 @@ if (NativePerformance) { // $FlowExpectedError[cannot-write] global.performance = { mark: () => {}, + clearMarks: () => {}, measure: () => {}, + clearMeasures: () => {}, now: () => { const performanceNow = global.nativePerformanceNow || Date.now; return performanceNow();