Skip to content

Commit

Permalink
Use renderEndTime stamp to avoid drift
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Nov 15, 2024
1 parent 67ad5e3 commit ffe8253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberWorkLoop.js
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ function finishConcurrentRender(
// placeholder and without scheduling a timeout. Delay indefinitely
// until we receive more data.
if (enableProfilerTimer && enableComponentPerformanceTrack) {
finalizeRender(lanes, now());
finalizeRender(lanes, renderEndTime);
}
const didAttemptEntireTree = !workInProgressRootDidSkipSuspendedSiblings;
markRootSuspended(
Expand Down

0 comments on commit ffe8253

Please sign in to comment.