()
| 7597 | } |
| 7598 | |
| 7599 | function stopPhaseTimer() { |
| 7600 | if (enableUserTimingAPI) { |
| 7601 | if (!supportsUserTiming) { |
| 7602 | return; |
| 7603 | } |
| 7604 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 7605 | var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 7606 | endFiberMark(currentPhaseFiber, currentPhase, warning$$1); |
| 7607 | } |
| 7608 | currentPhase = null; |
| 7609 | currentPhaseFiber = null; |
| 7610 | } |
| 7611 | } |
| 7612 | |
| 7613 | function startWorkLoopTimer(nextUnitOfWork) { |
| 7614 | if (enableUserTimingAPI) { |
no test coverage detected