(interruptedBy)
| 6986 | } |
| 6987 | |
| 6988 | function stopWorkLoopTimer(interruptedBy) { |
| 6989 | if (enableUserTimingAPI) { |
| 6990 | if (!supportsUserTiming) { |
| 6991 | return; |
| 6992 | } |
| 6993 | var warning$$1 = null; |
| 6994 | if (interruptedBy !== null) { |
| 6995 | if (interruptedBy.tag === HostRoot) { |
| 6996 | warning$$1 = 'A top-level update interrupted the previous render'; |
| 6997 | } else { |
| 6998 | var componentName = getComponentName(interruptedBy) || 'Unknown'; |
| 6999 | warning$$1 = 'An update to ' + componentName + ' interrupted the previous render'; |
| 7000 | } |
| 7001 | } else if (commitCountInCurrentWorkLoop > 1) { |
| 7002 | warning$$1 = 'There were cascading updates'; |
| 7003 | } |
| 7004 | commitCountInCurrentWorkLoop = 0; |
| 7005 | // Pause any measurements until the next loop. |
| 7006 | pauseTimers(); |
| 7007 | endMark('(React Tree Reconciliation)', '(React Tree Reconciliation)', warning$$1); |
| 7008 | } |
| 7009 | } |
| 7010 | |
| 7011 | function startCommitTimer() { |
| 7012 | if (enableUserTimingAPI) { |
no test coverage detected