(nextUnitOfWork)
| 10603 | } |
| 10604 | } |
| 10605 | function startWorkLoopTimer(nextUnitOfWork) { |
| 10606 | { |
| 10607 | currentFiber = nextUnitOfWork; |
| 10608 | |
| 10609 | if (!supportsUserTiming) { |
| 10610 | return; |
| 10611 | } |
| 10612 | |
| 10613 | commitCountInCurrentWorkLoop = 0; // This is top level call. |
| 10614 | // Any other measurements are performed within. |
| 10615 | |
| 10616 | beginMark('(React Tree Reconciliation)'); // Resume any measurements that were in progress during the last loop. |
| 10617 | |
| 10618 | resumeTimers(); |
| 10619 | } |
| 10620 | } |
| 10621 | function stopWorkLoopTimer(interruptedBy, didCompleteRoot) { |
| 10622 | { |
| 10623 | if (!supportsUserTiming) { |
no test coverage detected