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