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

Function stopPhaseTimer

code/new-context-api/public/app.js:7087–7099  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7085}
7086
7087function stopPhaseTimer() {
7088 if (enableUserTimingAPI) {
7089 if (!supportsUserTiming) {
7090 return;
7091 }
7092 if (currentPhase !== null && currentPhaseFiber !== null) {
7093 var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
7094 endFiberMark(currentPhaseFiber, currentPhase, warning$$1);
7095 }
7096 currentPhase = null;
7097 currentPhaseFiber = null;
7098 }
7099}
7100
7101function startWorkLoopTimer(nextUnitOfWork) {
7102 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