()
| 7862 | } |
| 7863 | |
| 7864 | function stopPhaseTimer() { |
| 7865 | if (enableUserTimingAPI) { |
| 7866 | if (!supportsUserTiming) { |
| 7867 | return; |
| 7868 | } |
| 7869 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 7870 | var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 7871 | endFiberMark(currentPhaseFiber, currentPhase, warning$$1); |
| 7872 | } |
| 7873 | currentPhase = null; |
| 7874 | currentPhaseFiber = null; |
| 7875 | } |
| 7876 | } |
| 7877 | |
| 7878 | function startWorkLoopTimer(nextUnitOfWork) { |
| 7879 | if (enableUserTimingAPI) { |
no test coverage detected