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

Function startPhaseTimer

code/third-party/public/app.js:6945–6957  ·  view source on GitHub ↗
(fiber, phase)

Source from the content-addressed store, hash-verified

6943}
6944
6945function startPhaseTimer(fiber, phase) {
6946 if (enableUserTimingAPI) {
6947 if (!supportsUserTiming) {
6948 return;
6949 }
6950 clearPendingPhaseMeasurement();
6951 if (!beginFiberMark(fiber, phase)) {
6952 return;
6953 }
6954 currentPhaseFiber = fiber;
6955 currentPhase = phase;
6956 }
6957}
6958
6959function stopPhaseTimer() {
6960 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