(interruptedBy)
| 7753 | } |
| 7754 | |
| 7755 | function stopWorkLoopTimer(interruptedBy) { |
| 7756 | if (enableUserTimingAPI) { |
| 7757 | if (!supportsUserTiming) { |
| 7758 | return; |
| 7759 | } |
| 7760 | var warning$$1 = null; |
| 7761 | if (interruptedBy !== null) { |
| 7762 | if (interruptedBy.tag === HostRoot) { |
| 7763 | warning$$1 = 'A top-level update interrupted the previous render'; |
| 7764 | } else { |
| 7765 | var componentName = getComponentName(interruptedBy) || 'Unknown'; |
| 7766 | warning$$1 = 'An update to ' + componentName + ' interrupted the previous render'; |
| 7767 | } |
| 7768 | } else if (commitCountInCurrentWorkLoop > 1) { |
| 7769 | warning$$1 = 'There were cascading updates'; |
| 7770 | } |
| 7771 | commitCountInCurrentWorkLoop = 0; |
| 7772 | // Pause any measurements until the next loop. |
| 7773 | pauseTimers(); |
| 7774 | endMark('(React Tree Reconciliation)', '(React Tree Reconciliation)', warning$$1); |
| 7775 | } |
| 7776 | } |
| 7777 | |
| 7778 | function startCommitTimer() { |
| 7779 | if (enableUserTimingAPI) { |
no test coverage detected