(interruptedBy)
| 7891 | } |
| 7892 | |
| 7893 | function stopWorkLoopTimer(interruptedBy) { |
| 7894 | if (enableUserTimingAPI) { |
| 7895 | if (!supportsUserTiming) { |
| 7896 | return; |
| 7897 | } |
| 7898 | var warning$$1 = null; |
| 7899 | if (interruptedBy !== null) { |
| 7900 | if (interruptedBy.tag === HostRoot) { |
| 7901 | warning$$1 = 'A top-level update interrupted the previous render'; |
| 7902 | } else { |
| 7903 | var componentName = getComponentName(interruptedBy) || 'Unknown'; |
| 7904 | warning$$1 = 'An update to ' + componentName + ' interrupted the previous render'; |
| 7905 | } |
| 7906 | } else if (commitCountInCurrentWorkLoop > 1) { |
| 7907 | warning$$1 = 'There were cascading updates'; |
| 7908 | } |
| 7909 | commitCountInCurrentWorkLoop = 0; |
| 7910 | // Pause any measurements until the next loop. |
| 7911 | pauseTimers(); |
| 7912 | endMark('(React Tree Reconciliation)', '(React Tree Reconciliation)', warning$$1); |
| 7913 | } |
| 7914 | } |
| 7915 | |
| 7916 | function startCommitTimer() { |
| 7917 | if (enableUserTimingAPI) { |
no test coverage detected