()
| 14160 | } |
| 14161 | } |
| 14162 | function stopPhaseTimer() { |
| 14163 | { |
| 14164 | if (!supportsUserTiming) { |
| 14165 | return; |
| 14166 | } |
| 14167 | |
| 14168 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 14169 | var warning = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 14170 | endFiberMark(currentPhaseFiber, currentPhase, warning); |
| 14171 | } |
| 14172 | |
| 14173 | currentPhase = null; |
| 14174 | currentPhaseFiber = null; |
| 14175 | } |
| 14176 | } |
| 14177 | function startWorkLoopTimer(nextUnitOfWork) { |
| 14178 | { |
| 14179 | currentFiber = nextUnitOfWork; |
no test coverage detected