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

Function startPhaseTimer

code/dependency-injection/public/app.js:7805–7817  ·  view source on GitHub ↗
(fiber, phase)

Source from the content-addressed store, hash-verified

7803}
7804
7805function startPhaseTimer(fiber, phase) {
7806 if (enableUserTimingAPI) {
7807 if (!supportsUserTiming) {
7808 return;
7809 }
7810 clearPendingPhaseMeasurement();
7811 if (!beginFiberMark(fiber, phase)) {
7812 return;
7813 }
7814 currentPhaseFiber = fiber;
7815 currentPhase = phase;
7816 }
7817}
7818
7819function stopPhaseTimer() {
7820 if (enableUserTimingAPI) {

Callers 8

callComponentWillMountFunction · 0.70
resumeMountClassInstanceFunction · 0.70
updateClassInstanceFunction · 0.70
commitLifeCyclesFunction · 0.70
processChildContextFunction · 0.70

Calls 2

beginFiberMarkFunction · 0.70

Tested by

no test coverage detected