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

Function startPhaseTimer

code/new-context-api/public/app.js:7073–7085  ·  view source on GitHub ↗
(fiber, phase)

Source from the content-addressed store, hash-verified

7071}
7072
7073function startPhaseTimer(fiber, phase) {
7074 if (enableUserTimingAPI) {
7075 if (!supportsUserTiming) {
7076 return;
7077 }
7078 clearPendingPhaseMeasurement();
7079 if (!beginFiberMark(fiber, phase)) {
7080 return;
7081 }
7082 currentPhaseFiber = fiber;
7083 currentPhase = phase;
7084 }
7085}
7086
7087function stopPhaseTimer() {
7088 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