()
| 10079 | } |
| 10080 | |
| 10081 | function stopPhaseTimer() { |
| 10082 | if (enableUserTimingAPI) { |
| 10083 | if (!supportsUserTiming) { |
| 10084 | return; |
| 10085 | } |
| 10086 | if (currentPhase !== null && currentPhaseFiber !== null) { |
| 10087 | var warning = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null; |
| 10088 | endFiberMark(currentPhaseFiber, currentPhase, warning); |
| 10089 | } |
| 10090 | currentPhase = null; |
| 10091 | currentPhaseFiber = null; |
| 10092 | } |
| 10093 | } |
| 10094 | |
| 10095 | function startWorkLoopTimer(nextUnitOfWork) { |
| 10096 | if (enableUserTimingAPI) { |
no test coverage detected