()
| 6957 | } |
| 6958 | |
| 6959 | function stopPhaseTimer() { |
| 6960 | if (enableUserTimingAPI) { |
| 6961 | if (!supportsUserTiming) { |
| 6962 | return; |
| 6963 | } |
| 6964 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 6965 | var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 6966 | endFiberMark(currentPhaseFiber, currentPhase, warning$$1); |
| 6967 | } |
| 6968 | currentPhase = null; |
| 6969 | currentPhaseFiber = null; |
| 6970 | } |
| 6971 | } |
| 6972 | |
| 6973 | function startWorkLoopTimer(nextUnitOfWork) { |
| 6974 | if (enableUserTimingAPI) { |
no test coverage detected