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

Function stopPhaseTimer

code/redux/public/app.js:7977–7989  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7975}
7976
7977function stopPhaseTimer() {
7978 if (enableUserTimingAPI) {
7979 if (!supportsUserTiming) {
7980 return;
7981 }
7982 if (currentPhase !== null && currentPhaseFiber !== null) {
7983 var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
7984 endFiberMark(currentPhaseFiber, currentPhase, warning$$1);
7985 }
7986 currentPhase = null;
7987 currentPhaseFiber = null;
7988 }
7989}
7990
7991function startWorkLoopTimer(nextUnitOfWork) {
7992 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