bubbleNestedEffectDurations() — react Function Reference
Architecture documentation for the bubbleNestedEffectDurations() function in ReactProfilerTimer.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 2bc3a25f_8722_3ff5_8d20_3b3d595f7eda["bubbleNestedEffectDurations()"] e054b9c7_41f1_c7f7_97bb_98b6a445e94b["ReactProfilerTimer.js"] 2bc3a25f_8722_3ff5_8d20_3b3d595f7eda -->|defined in| e054b9c7_41f1_c7f7_97bb_98b6a445e94b ce61aa22_42d2_811a_b317_96c8d0cb0321["commitLayoutEffectOnFiber()"] ce61aa22_42d2_811a_b317_96c8d0cb0321 -->|calls| 2bc3a25f_8722_3ff5_8d20_3b3d595f7eda bc4a6de9_07dc_eca7_681a_10f692e08483["commitMutationEffectsOnFiber()"] bc4a6de9_07dc_eca7_681a_10f692e08483 -->|calls| 2bc3a25f_8722_3ff5_8d20_3b3d595f7eda 1846396a_6bcb_7ad4_8180_1d20ef2960a4["reappearLayoutEffects()"] 1846396a_6bcb_7ad4_8180_1d20ef2960a4 -->|calls| 2bc3a25f_8722_3ff5_8d20_3b3d595f7eda 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1["commitPassiveMountOnFiber()"] 07f3c6d9_2fce_51ae_4408_e0d4ab7359a1 -->|calls| 2bc3a25f_8722_3ff5_8d20_3b3d595f7eda 8ece8c7a_ae72_8f82_6cb2_654f8dc2bc90["commitPassiveUnmountOnFiber()"] 8ece8c7a_ae72_8f82_6cb2_654f8dc2bc90 -->|calls| 2bc3a25f_8722_3ff5_8d20_3b3d595f7eda style 2bc3a25f_8722_3ff5_8d20_3b3d595f7eda fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactProfilerTimer.js lines 425–434
export function bubbleNestedEffectDurations(
prevEffectDuration: number,
): number {
if (!enableProfilerTimer || !enableProfilerCommitHooks) {
return 0;
}
const elapsedTime = profilerEffectDuration;
profilerEffectDuration += prevEffectDuration;
return elapsedTime;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does bubbleNestedEffectDurations() do?
bubbleNestedEffectDurations() is a function in the react codebase, defined in packages/react-reconciler/src/ReactProfilerTimer.js.
Where is bubbleNestedEffectDurations() defined?
bubbleNestedEffectDurations() is defined in packages/react-reconciler/src/ReactProfilerTimer.js at line 425.
What calls bubbleNestedEffectDurations()?
bubbleNestedEffectDurations() is called by 5 function(s): commitLayoutEffectOnFiber, commitMutationEffectsOnFiber, commitPassiveMountOnFiber, commitPassiveUnmountOnFiber, reappearLayoutEffects.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free