MCPcopy Index your code
hub / github.com/microsoft/SandDance / startPhaseTimer

Function startPhaseTimer

docs/external/js/react-dom.development.js:10574–10589  ·  view source on GitHub ↗
(fiber, phase)

Source from the content-addressed store, hash-verified

10572 }
10573 }
10574 function startPhaseTimer(fiber, phase) {
10575 {
10576 if (!supportsUserTiming) {
10577 return;
10578 }
10579
10580 clearPendingPhaseMeasurement();
10581
10582 if (!beginFiberMark(fiber, phase)) {
10583 return;
10584 }
10585
10586 currentPhaseFiber = fiber;
10587 currentPhase = phase;
10588 }
10589 }
10590 function stopPhaseTimer() {
10591 {
10592 if (!supportsUserTiming) {

Callers 9

processChildContextFunction · 0.85
callComponentWillMountFunction · 0.85
resumeMountClassInstanceFunction · 0.85
updateClassInstanceFunction · 0.85
commitLifeCyclesFunction · 0.85

Calls 2

beginFiberMarkFunction · 0.85

Tested by

no test coverage detected