()
| 7048 | } |
| 7049 | |
| 7050 | function stopPhaseTimer() { |
| 7051 | if (enableUserTimingAPI) { |
| 7052 | if (!supportsUserTiming) { |
| 7053 | return; |
| 7054 | } |
| 7055 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 7056 | var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 7057 | endFiberMark(currentPhaseFiber, currentPhase, warning$$1); |
| 7058 | } |
| 7059 | currentPhase = null; |
| 7060 | currentPhaseFiber = null; |
| 7061 | } |
| 7062 | } |
| 7063 | |
| 7064 | function startWorkLoopTimer(nextUnitOfWork) { |
| 7065 | if (enableUserTimingAPI) { |
no test coverage detected