-
Notifications
You must be signed in to change notification settings - Fork 47.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fiber] Log Effect and Render Times in Offscreen Commit Phase #31788
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Comparing: f5077bc...7aaac76 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
@@ -4191,7 +4191,7 @@ function doubleInvokeEffectsOnFiber( | |||
} | |||
reappearLayoutEffects(root, fiber.alternate, fiber, false); | |||
if (shouldDoubleInvokePassiveEffects) { | |||
reconnectPassiveEffects(root, fiber, NoLanes, null, false); | |||
reconnectPassiveEffects(root, fiber, NoLanes, null, false, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a new issue in this PR but an existing issue is that all these phases end up double logging the effects.
69e5990
to
6ecfbf7
Compare
6ecfbf7
to
636fae0
Compare
…ffscreen subtrees This includes initial mount of a Suspense boundary.
636fae0
to
c18813c
Compare
In #30967 and #30983 I added logging of the just rendered components and the effects. However this didn't consider the special Offscreen passes. So this adds the same thing to those passes. Log component effect timings for disconnected/reconnected offscreen subtrees. This includes initial mount of a Suspense boundary. Log component render timings for reconnected and already offscreen offscreen subtrees. DiffTrain build for [6a4b46c](6a4b46c)
In #30967 and #30983 I added logging of the just rendered components and the effects. However this didn't consider the special Offscreen passes. So this adds the same thing to those passes. Log component effect timings for disconnected/reconnected offscreen subtrees. This includes initial mount of a Suspense boundary. Log component render timings for reconnected and already offscreen offscreen subtrees. DiffTrain build for [6a4b46c](6a4b46c)
…ok#31788) In facebook#30967 and facebook#30983 I added logging of the just rendered components and the effects. However this didn't consider the special Offscreen passes. So this adds the same thing to those passes. Log component effect timings for disconnected/reconnected offscreen subtrees. This includes initial mount of a Suspense boundary. Log component render timings for reconnected and already offscreen offscreen subtrees. DiffTrain build for [6a4b46c](facebook@6a4b46c)
…ok#31788) In facebook#30967 and facebook#30983 I added logging of the just rendered components and the effects. However this didn't consider the special Offscreen passes. So this adds the same thing to those passes. Log component effect timings for disconnected/reconnected offscreen subtrees. This includes initial mount of a Suspense boundary. Log component render timings for reconnected and already offscreen offscreen subtrees. DiffTrain build for [6a4b46c](facebook@6a4b46c)
In #30967 and #30983 I added logging of the just rendered components and the effects. However this didn't consider the special Offscreen passes. So this adds the same thing to those passes.
Log component effect timings for disconnected/reconnected offscreen subtrees. This includes initial mount of a Suspense boundary.
Log component render timings for reconnected and already offscreen offscreen subtrees.