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

Function stopPhaseTimer

code/third-party/public/app.js:6959–6971  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6957}
6958
6959function stopPhaseTimer() {
6960 if (enableUserTimingAPI) {
6961 if (!supportsUserTiming) {
6962 return;
6963 }
6964 if (currentPhase !== null && currentPhaseFiber !== null) {
6965 var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
6966 endFiberMark(currentPhaseFiber, currentPhase, warning$$1);
6967 }
6968 currentPhase = null;
6969 currentPhaseFiber = null;
6970 }
6971}
6972
6973function startWorkLoopTimer(nextUnitOfWork) {
6974 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