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

Function startWorkTimer

code/composition/public/app.js:7793–7805  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7791}
7792
7793function startWorkTimer(fiber) {
7794 if (enableUserTimingAPI) {
7795 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
7796 return;
7797 }
7798 // If we pause, this is the fiber to unwind from.
7799 currentFiber = fiber;
7800 if (!beginFiberMark(fiber, null)) {
7801 return;
7802 }
7803 fiber._debugIsCurrentlyTiming = true;
7804 }
7805}
7806
7807function cancelWorkTimer(fiber) {
7808 if (enableUserTimingAPI) {

Callers 1

performUnitOfWorkFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
beginFiberMarkFunction · 0.70

Tested by

no test coverage detected