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

Function stopPhaseTimer

code/higher-order-components/public/app.js:7720–7732  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7718}
7719
7720function stopPhaseTimer() {
7721 if (enableUserTimingAPI) {
7722 if (!supportsUserTiming) {
7723 return;
7724 }
7725 if (currentPhase !== null && currentPhaseFiber !== null) {
7726 var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
7727 endFiberMark(currentPhaseFiber, currentPhase, warning$$1);
7728 }
7729 currentPhase = null;
7730 currentPhaseFiber = null;
7731 }
7732}
7733
7734function startWorkLoopTimer(nextUnitOfWork) {
7735 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