()
| 10588 | } |
| 10589 | } |
| 10590 | function stopPhaseTimer() { |
| 10591 | { |
| 10592 | if (!supportsUserTiming) { |
| 10593 | return; |
| 10594 | } |
| 10595 | |
| 10596 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 10597 | var warning = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 10598 | endFiberMark(currentPhaseFiber, currentPhase, warning); |
| 10599 | } |
| 10600 | |
| 10601 | currentPhase = null; |
| 10602 | currentPhaseFiber = null; |
| 10603 | } |
| 10604 | } |
| 10605 | function startWorkLoopTimer(nextUnitOfWork) { |
| 10606 | { |
| 10607 | currentFiber = nextUnitOfWork; |
no test coverage detected