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