@@ -5435,11 +5435,18 @@ __DEV__ &&
54355435 profilerStartTime = now();
54365436 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);
54375437 }
5438- function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
5438+ function stopProfilerTimerIfRunningAndRecordDuration(fiber) {
5439+ if (0 <= profilerStartTime) {
5440+ var elapsedTime = now() - profilerStartTime;
5441+ fiber.actualDuration += elapsedTime;
5442+ fiber.selfBaseDuration = elapsedTime;
5443+ profilerStartTime = -1;
5444+ }
5445+ }
5446+ function stopProfilerTimerIfRunningAndRecordIncompleteDuration(fiber) {
54395447 if (0 <= profilerStartTime) {
54405448 var elapsedTime = now() - profilerStartTime;
54415449 fiber.actualDuration += elapsedTime;
5442- overrideBaseTime && (fiber.selfBaseDuration = elapsedTime);
54435450 profilerStartTime = -1;
54445451 }
54455452 }
@@ -12975,7 +12982,7 @@ __DEV__ &&
1297512982 );
1297612983 else if (
1297712984 (JSCompiler_temp.mode & 2 &&
12978- stopProfilerTimerIfRunningAndRecordDelta (JSCompiler_temp, !0 ),
12985+ stopProfilerTimerIfRunningAndRecordDuration (JSCompiler_temp),
1297912986 enableSchedulingProfiler)
1298012987 )
1298112988 switch ((markComponentRenderStopped(), workInProgressSuspendedReason)) {
@@ -13292,7 +13299,7 @@ __DEV__ &&
1329213299 unitOfWork,
1329313300 entangledRenderLanes
1329413301 )),
13295- stopProfilerTimerIfRunningAndRecordDelta (unitOfWork, !0 ))
13302+ stopProfilerTimerIfRunningAndRecordDuration (unitOfWork))
1329613303 : (current = runWithFiberInDEV(
1329713304 unitOfWork,
1329813305 beginWork,
@@ -13371,7 +13378,7 @@ __DEV__ &&
1337113378 (current = beginWork(current, unitOfWork, entangledRenderLanes));
1337213379 }
1337313380 isProfilingMode &&
13374- stopProfilerTimerIfRunningAndRecordDelta (unitOfWork, !0 );
13381+ stopProfilerTimerIfRunningAndRecordDuration (unitOfWork);
1337513382 return current;
1337613383 }
1337713384 function throwAndUnwindWorkLoop(
@@ -13466,7 +13473,9 @@ __DEV__ &&
1346613473 completedWork,
1346713474 entangledRenderLanes
1346813475 )),
13469- stopProfilerTimerIfRunningAndRecordDelta(completedWork, !1));
13476+ stopProfilerTimerIfRunningAndRecordIncompleteDuration(
13477+ completedWork
13478+ ));
1347013479 if (null !== current) {
1347113480 workInProgress = current;
1347213481 return;
@@ -13490,7 +13499,7 @@ __DEV__ &&
1349013499 return;
1349113500 }
1349213501 if (0 !== (unitOfWork.mode & 2)) {
13493- stopProfilerTimerIfRunningAndRecordDelta (unitOfWork, !1 );
13502+ stopProfilerTimerIfRunningAndRecordIncompleteDuration (unitOfWork);
1349413503 next = unitOfWork.actualDuration;
1349513504 for (var child = unitOfWork.child; null !== child; )
1349613505 (next += child.actualDuration), (child = child.sibling);
@@ -17112,11 +17121,11 @@ __DEV__ &&
1711217121 (function () {
1711317122 var internals = {
1711417123 bundleType: 1,
17115- version: "19.0.0-www-classic-6774caa3 -20240913",
17124+ version: "19.0.0-www-classic-3d95c43b -20240913",
1711617125 rendererPackageName: "react-art",
1711717126 currentDispatcherRef: ReactSharedInternals,
1711817127 findFiberByHostInstance: getInstanceFromNode,
17119- reconcilerVersion: "19.0.0-www-classic-6774caa3 -20240913"
17128+ reconcilerVersion: "19.0.0-www-classic-3d95c43b -20240913"
1712017129 };
1712117130 internals.overrideHookState = overrideHookState;
1712217131 internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17150,7 +17159,7 @@ __DEV__ &&
1715017159 exports.Shape = Shape;
1715117160 exports.Surface = Surface;
1715217161 exports.Text = Text;
17153- exports.version = "19.0.0-www-classic-6774caa3 -20240913";
17162+ exports.version = "19.0.0-www-classic-3d95c43b -20240913";
1715417163 "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1715517164 "function" ===
1715617165 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
0 commit comments