()
| 7975 | } |
| 7976 | |
| 7977 | function stopPhaseTimer() { |
| 7978 | if (enableUserTimingAPI) { |
| 7979 | if (!supportsUserTiming) { |
| 7980 | return; |
| 7981 | } |
| 7982 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 7983 | var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 7984 | endFiberMark(currentPhaseFiber, currentPhase, warning$$1); |
| 7985 | } |
| 7986 | currentPhase = null; |
| 7987 | currentPhaseFiber = null; |
| 7988 | } |
| 7989 | } |
| 7990 | |
| 7991 | function startWorkLoopTimer(nextUnitOfWork) { |
| 7992 | if (enableUserTimingAPI) { |
no test coverage detected