| 7661 | } |
| 7662 | |
| 7663 | function stopCommitTimer() { |
| 7664 | if (enableUserTimingAPI) { |
| 7665 | if (!supportsUserTiming) { |
| 7666 | return; |
| 7667 | } |
| 7668 | |
| 7669 | var warning$$1 = null; |
| 7670 | if (hasScheduledUpdateInCurrentCommit) { |
| 7671 | warning$$1 = 'Lifecycle hook scheduled a cascading update'; |
| 7672 | } else if (commitCountInCurrentWorkLoop > 0) { |
| 7673 | warning$$1 = 'Caused by a cascading update in earlier commit'; |
| 7674 | } |
| 7675 | hasScheduledUpdateInCurrentCommit = false; |
| 7676 | commitCountInCurrentWorkLoop++; |
| 7677 | isCommitting = false; |
| 7678 | labelsInCurrentCommit.clear(); |
| 7679 | |
| 7680 | endMark('(Committing Changes)', '(Committing Changes)', warning$$1); |
| 7681 | } |
| 7682 | } |
| 7683 | |
| 7684 | function startCommitHostEffectsTimer() { |
| 7685 | if (enableUserTimingAPI) { |