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

Function stopPhaseTimer

code/styling/public/app.js:7726–7738  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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