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

Function startWorkTimer

code/redux/public/app.js:7906–7918  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7904}
7905
7906function startWorkTimer(fiber) {
7907 if (enableUserTimingAPI) {
7908 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
7909 return;
7910 }
7911 // If we pause, this is the fiber to unwind from.
7912 currentFiber = fiber;
7913 if (!beginFiberMark(fiber, null)) {
7914 return;
7915 }
7916 fiber._debugIsCurrentlyTiming = true;
7917 }
7918}
7919
7920function cancelWorkTimer(fiber) {
7921 if (enableUserTimingAPI) {

Callers 1

performUnitOfWorkFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
beginFiberMarkFunction · 0.70

Tested by

no test coverage detected