(nextUnitOfWork)
| 14175 | } |
| 14176 | } |
| 14177 | function startWorkLoopTimer(nextUnitOfWork) { |
| 14178 | { |
| 14179 | currentFiber = nextUnitOfWork; |
| 14180 | |
| 14181 | if (!supportsUserTiming) { |
| 14182 | return; |
| 14183 | } |
| 14184 | |
| 14185 | commitCountInCurrentWorkLoop = 0; // This is top level call. |
| 14186 | // Any other measurements are performed within. |
| 14187 | |
| 14188 | beginMark('(React Tree Reconciliation)'); // Resume any measurements that were in progress during the last loop. |
| 14189 | |
| 14190 | resumeTimers(); |
| 14191 | } |
| 14192 | } |
| 14193 | function stopWorkLoopTimer(interruptedBy, didCompleteRoot) { |
| 14194 | { |
| 14195 | if (!supportsUserTiming) { |
no test coverage detected