MCPcopy Index your code
hub / github.com/microsoft/SandDance / stopPhaseTimer

Function stopPhaseTimer

docs/external/js/react-dom.development.js:10590–10604  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10588 }
10589 }
10590 function stopPhaseTimer() {
10591 {
10592 if (!supportsUserTiming) {
10593 return;
10594 }
10595
10596 if (currentPhase !== null && currentPhaseFiber !== null) {
10597 var warning = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
10598 endFiberMark(currentPhaseFiber, currentPhase, warning);
10599 }
10600
10601 currentPhase = null;
10602 currentPhaseFiber = null;
10603 }
10604 }
10605 function startWorkLoopTimer(nextUnitOfWork) {
10606 {
10607 currentFiber = nextUnitOfWork;

Callers 9

processChildContextFunction · 0.85
callComponentWillMountFunction · 0.85
resumeMountClassInstanceFunction · 0.85
updateClassInstanceFunction · 0.85
commitLifeCyclesFunction · 0.85

Calls 1

endFiberMarkFunction · 0.85

Tested by

no test coverage detected