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

Function startPhaseTimer

code/redux/public/app.js:7963–7975  ·  view source on GitHub ↗
(fiber, phase)

Source from the content-addressed store, hash-verified

7961}
7962
7963function startPhaseTimer(fiber, phase) {
7964 if (enableUserTimingAPI) {
7965 if (!supportsUserTiming) {
7966 return;
7967 }
7968 clearPendingPhaseMeasurement();
7969 if (!beginFiberMark(fiber, phase)) {
7970 return;
7971 }
7972 currentPhaseFiber = fiber;
7973 currentPhase = phase;
7974 }
7975}
7976
7977function stopPhaseTimer() {
7978 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