From 9b5d5c32afed0ba89fcdff483c9fab9f3e26a865 Mon Sep 17 00:00:00 2001 From: sebmarkbage Date: Tue, 10 Sep 2024 13:54:16 -0700 Subject: [PATCH] [Fiber] Don't call performance.now() twice in a row (#30936) DiffTrain build for commit https://github.com/facebook/react/commit/a5a7f1063e6f190c64c779b2aa54d28fb7b92cfb. --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../react-test-renderer/cjs/ReactTestRenderer-dev.js | 10 +++++----- .../cjs/ReactTestRenderer-prod.js | 8 ++++---- .../cjs/ReactTestRenderer-profiling.js | 10 +++++----- .../RKJSModules/vendor/react/react/cjs/React-dev.js | 4 ++-- .../RKJSModules/vendor/react/react/cjs/React-prod.js | 4 ++-- .../vendor/react/react/cjs/React-profiling.js | 4 ++-- .../react-native-github/Libraries/Renderer/REVISION | 2 +- .../Renderer/implementations/ReactFabric-dev.fb.js | 8 ++++---- .../Renderer/implementations/ReactFabric-prod.fb.js | 6 +++--- .../implementations/ReactFabric-profiling.fb.js | 8 ++++---- .../implementations/ReactNativeRenderer-dev.fb.js | 12 ++++++------ .../implementations/ReactNativeRenderer-prod.fb.js | 10 +++++----- .../ReactNativeRenderer-profiling.fb.js | 12 ++++++------ 14 files changed, 50 insertions(+), 50 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 256640db2d..0bd952155c 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.0.0-native-fb-66cf2cfc-20240910 \ No newline at end of file +19.0.0-native-fb-a5a7f106-20240910 \ No newline at end of file diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js index 85abe090a1..0eb6df5b3e 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<8f1af1317adb530cf5e93c6d98166d09>> */ "use strict"; @@ -5015,7 +5015,7 @@ __DEV__ && } function startProfilerTimer(fiber) { profilerStartTime = now(); - 0 > fiber.actualStartTime && (fiber.actualStartTime = now()); + 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); } function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) { if (0 <= profilerStartTime) { @@ -15057,11 +15057,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-66cf2cfc-20240910", + version: "19.0.0-native-fb-a5a7f106-20240910", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-66cf2cfc-20240910" + reconcilerVersion: "19.0.0-native-fb-a5a7f106-20240910" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15206,5 +15206,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.0.0-native-fb-66cf2cfc-20240910"; + exports.version = "19.0.0-native-fb-a5a7f106-20240910"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js index fd1ccc8228..416a96316b 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<25b7bb8120d9f7b06b97ec9ca396e314>> + * @generated SignedSource<> */ "use strict"; @@ -9445,14 +9445,14 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1264 = { bundleType: 0, - version: "19.0.0-native-fb-66cf2cfc-20240910", + version: "19.0.0-native-fb-a5a7f106-20240910", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function (mockNode) { mockNode = nodeToInstanceMap.get(mockNode); return void 0 !== mockNode ? mockNode.internalInstanceHandle : null; }, - reconcilerVersion: "19.0.0-native-fb-66cf2cfc-20240910" + reconcilerVersion: "19.0.0-native-fb-a5a7f106-20240910" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1265 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -9588,4 +9588,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.0.0-native-fb-66cf2cfc-20240910"; +exports.version = "19.0.0-native-fb-a5a7f106-20240910"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js index ae79c187ce..70c2e45af9 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<0de508771b94d6332922c2450b77ad5f>> + * @generated SignedSource<<34bf2e90c5560d580e7ce54b20ce9401>> */ "use strict"; @@ -3643,7 +3643,7 @@ var now = Scheduler$1.unstable_now, nestedUpdateScheduled = !1; function startProfilerTimer(fiber) { profilerStartTime = now(); - 0 > fiber.actualStartTime && (fiber.actualStartTime = now()); + 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); } function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) { if (0 <= profilerStartTime) { @@ -10033,14 +10033,14 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1139 = { bundleType: 0, - version: "19.0.0-native-fb-66cf2cfc-20240910", + version: "19.0.0-native-fb-a5a7f106-20240910", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function (mockNode) { mockNode = nodeToInstanceMap.get(mockNode); return void 0 !== mockNode ? mockNode.internalInstanceHandle : null; }, - reconcilerVersion: "19.0.0-native-fb-66cf2cfc-20240910", + reconcilerVersion: "19.0.0-native-fb-a5a7f106-20240910", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$138 = 0; @@ -10191,4 +10191,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.0.0-native-fb-66cf2cfc-20240910"; +exports.version = "19.0.0-native-fb-a5a7f106-20240910"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js index f251d92fc7..4dcaf908d9 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<456e029de5fd9f4d0bf68eedd05f7c81>> + * @generated SignedSource<<395e6191abddaefed047ed772df65f1b>> */ "use strict"; @@ -1705,7 +1705,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-native-fb-66cf2cfc-20240910"; + exports.version = "19.0.0-native-fb-a5a7f106-20240910"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js index 4571484ccf..e0d5a020d1 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<6d67ec9150a2cc4a4aa7a542b1fcfee9>> + * @generated SignedSource<> */ "use strict"; @@ -580,4 +580,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-66cf2cfc-20240910"; +exports.version = "19.0.0-native-fb-a5a7f106-20240910"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js index 46b9b52160..b058eb6505 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -584,7 +584,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-66cf2cfc-20240910"; +exports.version = "19.0.0-native-fb-a5a7f106-20240910"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION index 21236c7a62..a14abc7012 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION @@ -1 +1 @@ -66cf2cfc8a8c4b09d2b783fd7302ae6b24150935 +a5a7f1063e6f190c64c779b2aa54d28fb7b92cfb diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js index 8f1136630d..802eac80c3 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<896bf8b1f76305c76285784dae9ebb6d>> */ "use strict"; @@ -5901,7 +5901,7 @@ __DEV__ && } function startProfilerTimer(fiber) { profilerStartTime = now(); - 0 > fiber.actualStartTime && (fiber.actualStartTime = now()); + 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); } function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) { if (0 <= profilerStartTime) { @@ -17033,11 +17033,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-66cf2cfc-20240910", + version: "19.0.0-native-fb-a5a7f106-20240910", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-66cf2cfc-20240910" + reconcilerVersion: "19.0.0-native-fb-a5a7f106-20240910" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js index 78aa54b21b..7417dc53ae 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<0957f41cf0c05a8013a5c3aef90921b1>> + * @generated SignedSource<<6bf9a920b8e728a4425f244949788e0c>> */ "use strict"; @@ -10978,11 +10978,11 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1162 = { bundleType: 0, - version: "19.0.0-native-fb-66cf2cfc-20240910", + version: "19.0.0-native-fb-a5a7f106-20240910", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-66cf2cfc-20240910" + reconcilerVersion: "19.0.0-native-fb-a5a7f106-20240910" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1162.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js index 3423d077ba..38e2751972 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<1a7aa7a59bbebec940703518e618897a>> + * @generated SignedSource<<8ad56df9c7b93b1db67af3c5c2b936cd>> */ "use strict"; @@ -4964,7 +4964,7 @@ var now = Scheduler.unstable_now, nestedUpdateScheduled = !1; function startProfilerTimer(fiber) { profilerStartTime = now(); - 0 > fiber.actualStartTime && (fiber.actualStartTime = now()); + 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); } function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) { if (0 <= profilerStartTime) { @@ -11656,11 +11656,11 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1247 = { bundleType: 0, - version: "19.0.0-native-fb-66cf2cfc-20240910", + version: "19.0.0-native-fb-a5a7f106-20240910", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-66cf2cfc-20240910" + reconcilerVersion: "19.0.0-native-fb-a5a7f106-20240910" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1247.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js index e051269e67..3f6077025c 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<987f05dd5f02291a5d0a9d00e8856490>> + * @generated SignedSource<<38906953b5d5c7b5c1b15f5d4e7aae29>> */ "use strict"; @@ -6125,7 +6125,7 @@ __DEV__ && } function startProfilerTimer(fiber) { profilerStartTime = now(); - 0 > fiber.actualStartTime && (fiber.actualStartTime = now()); + 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); } function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) { if (0 <= profilerStartTime) { @@ -17257,11 +17257,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-66cf2cfc-20240910" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-a5a7f106-20240910" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.0.0-native-fb-66cf2cfc-20240910\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-a5a7f106-20240910\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17287,11 +17287,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-66cf2cfc-20240910", + version: "19.0.0-native-fb-a5a7f106-20240910", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromTag, - reconcilerVersion: "19.0.0-native-fb-66cf2cfc-20240910" + reconcilerVersion: "19.0.0-native-fb-a5a7f106-20240910" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js index 435ff68a04..bf392b9772 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<5c58ff2c047f730560b449a44c4c83b8>> + * @generated SignedSource<<09826de6b2f549defa34bff5f481a2a5>> */ "use strict"; @@ -11107,11 +11107,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-66cf2cfc-20240910" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-a5a7f106-20240910" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.0.0-native-fb-66cf2cfc-20240910\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-a5a7f106-20240910\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11160,11 +11160,11 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1228 = { bundleType: 0, - version: "19.0.0-native-fb-66cf2cfc-20240910", + version: "19.0.0-native-fb-a5a7f106-20240910", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromTag, - reconcilerVersion: "19.0.0-native-fb-66cf2cfc-20240910" + reconcilerVersion: "19.0.0-native-fb-a5a7f106-20240910" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1228.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js index fd689b1ffa..71a879ac24 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -5253,7 +5253,7 @@ var now = Scheduler.unstable_now, nestedUpdateScheduled = !1; function startProfilerTimer(fiber) { profilerStartTime = now(); - 0 > fiber.actualStartTime && (fiber.actualStartTime = now()); + 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); } function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) { if (0 <= profilerStartTime) { @@ -11786,11 +11786,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-66cf2cfc-20240910" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-a5a7f106-20240910" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.0.0-native-fb-66cf2cfc-20240910\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-a5a7f106-20240910\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11839,11 +11839,11 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1313 = { bundleType: 0, - version: "19.0.0-native-fb-66cf2cfc-20240910", + version: "19.0.0-native-fb-a5a7f106-20240910", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromTag, - reconcilerVersion: "19.0.0-native-fb-66cf2cfc-20240910" + reconcilerVersion: "19.0.0-native-fb-a5a7f106-20240910" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1313.rendererConfig = extraDevToolsConfig);