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

Function startWorkLoopTimer

code/redux/public/app.js:7991–8004  ·  view source on GitHub ↗
(nextUnitOfWork)

Source from the content-addressed store, hash-verified

7989}
7990
7991function startWorkLoopTimer(nextUnitOfWork) {
7992 if (enableUserTimingAPI) {
7993 currentFiber = nextUnitOfWork;
7994 if (!supportsUserTiming) {
7995 return;
7996 }
7997 commitCountInCurrentWorkLoop = 0;
7998 // This is top level call.
7999 // Any other measurements are performed within.
8000 beginMark('(React Tree Reconciliation)');
8001 // Resume any measurements that were in progress during the last loop.
8002 resumeTimers();
8003 }
8004}
8005
8006function stopWorkLoopTimer(interruptedBy) {
8007 if (enableUserTimingAPI) {

Callers 1

renderRootFunction · 0.70

Calls 2

beginMarkFunction · 0.70
resumeTimersFunction · 0.70

Tested by

no test coverage detected