()
| 7718 | } |
| 7719 | |
| 7720 | function stopPhaseTimer() { |
| 7721 | if (enableUserTimingAPI) { |
| 7722 | if (!supportsUserTiming) { |
| 7723 | return; |
| 7724 | } |
| 7725 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 7726 | var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 7727 | endFiberMark(currentPhaseFiber, currentPhase, warning$$1); |
| 7728 | } |
| 7729 | currentPhase = null; |
| 7730 | currentPhaseFiber = null; |
| 7731 | } |
| 7732 | } |
| 7733 | |
| 7734 | function startWorkLoopTimer(nextUnitOfWork) { |
| 7735 | if (enableUserTimingAPI) { |
no test coverage detected