()
| 7759 | } |
| 7760 | |
| 7761 | function stopPhaseTimer() { |
| 7762 | if (enableUserTimingAPI) { |
| 7763 | if (!supportsUserTiming) { |
| 7764 | return; |
| 7765 | } |
| 7766 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 7767 | var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 7768 | endFiberMark(currentPhaseFiber, currentPhase, warning$$1); |
| 7769 | } |
| 7770 | currentPhase = null; |
| 7771 | currentPhaseFiber = null; |
| 7772 | } |
| 7773 | } |
| 7774 | |
| 7775 | function startWorkLoopTimer(nextUnitOfWork) { |
| 7776 | if (enableUserTimingAPI) { |
no test coverage detected