MCPcopy
hub / github.com/tastejs/todomvc / stopPhaseTimer

Function stopPhaseTimer

examples/typescript-react/js/bundle.js:10081–10093  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10079}
10080
10081function stopPhaseTimer() {
10082 if (enableUserTimingAPI) {
10083 if (!supportsUserTiming) {
10084 return;
10085 }
10086 if (currentPhase !== null && currentPhaseFiber !== null) {
10087 var warning = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
10088 endFiberMark(currentPhaseFiber, currentPhase, warning);
10089 }
10090 currentPhase = null;
10091 currentPhaseFiber = null;
10092 }
10093}
10094
10095function startWorkLoopTimer(nextUnitOfWork) {
10096 if (enableUserTimingAPI) {

Callers 9

processChildContextFunction · 0.85
callComponentWillMountFunction · 0.85
resumeMountClassInstanceFunction · 0.85
updateClassInstanceFunction · 0.85
commitLifeCyclesFunction · 0.85

Calls 1

endFiberMarkFunction · 0.85

Tested by

no test coverage detected