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

Function startPhaseTimer

code/composition/public/app.js:7850–7862  ·  view source on GitHub ↗
(fiber, phase)

Source from the content-addressed store, hash-verified

7848}
7849
7850function startPhaseTimer(fiber, phase) {
7851 if (enableUserTimingAPI) {
7852 if (!supportsUserTiming) {
7853 return;
7854 }
7855 clearPendingPhaseMeasurement();
7856 if (!beginFiberMark(fiber, phase)) {
7857 return;
7858 }
7859 currentPhaseFiber = fiber;
7860 currentPhase = phase;
7861 }
7862}
7863
7864function stopPhaseTimer() {
7865 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