MCPcopy Index your code
hub / github.com/reactjs/react-rails / stopWorkTimer

Function stopWorkTimer

lib/assets/react-source/development/react.js:14111–14127  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

14109 }
14110 }
14111 function stopWorkTimer(fiber) {
14112 {
14113 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
14114 return;
14115 } // If we pause, its parent is the fiber to unwind from.
14116
14117
14118 currentFiber = fiber.return;
14119
14120 if (!fiber._debugIsCurrentlyTiming) {
14121 return;
14122 }
14123
14124 fiber._debugIsCurrentlyTiming = false;
14125 endFiberMark(fiber, null, null);
14126 }
14127 }
14128 function stopFailedWorkTimer(fiber) {
14129 {
14130 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {

Callers 1

completeUnitOfWorkFunction · 0.85

Calls 2

shouldIgnoreFiberFunction · 0.85
endFiberMarkFunction · 0.85

Tested by

no test coverage detected