()
| 7085 | } |
| 7086 | |
| 7087 | function stopPhaseTimer() { |
| 7088 | if (enableUserTimingAPI) { |
| 7089 | if (!supportsUserTiming) { |
| 7090 | return; |
| 7091 | } |
| 7092 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 7093 | var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 7094 | endFiberMark(currentPhaseFiber, currentPhase, warning$$1); |
| 7095 | } |
| 7096 | currentPhase = null; |
| 7097 | currentPhaseFiber = null; |
| 7098 | } |
| 7099 | } |
| 7100 | |
| 7101 | function startWorkLoopTimer(nextUnitOfWork) { |
| 7102 | if (enableUserTimingAPI) { |
no test coverage detected