MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / stopPhaseTimer

Function stopPhaseTimer

code/communication/public/app.js:7761–7773  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7759}
7760
7761function stopPhaseTimer() {
7762 if (enableUserTimingAPI) {
7763 if (!supportsUserTiming) {
7764 return;
7765 }
7766 if (currentPhase !== null && currentPhaseFiber !== null) {
7767 var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
7768 endFiberMark(currentPhaseFiber, currentPhase, warning$$1);
7769 }
7770 currentPhase = null;
7771 currentPhaseFiber = null;
7772 }
7773}
7774
7775function startWorkLoopTimer(nextUnitOfWork) {
7776 if (enableUserTimingAPI) {

Callers 8

callComponentWillMountFunction · 0.70
resumeMountClassInstanceFunction · 0.70
updateClassInstanceFunction · 0.70
commitLifeCyclesFunction · 0.70
processChildContextFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected