| 7782 | } |
| 7783 | |
| 7784 | function stopCommitTimer() { |
| 7785 | if (enableUserTimingAPI) { |
| 7786 | if (!supportsUserTiming) { |
| 7787 | return; |
| 7788 | } |
| 7789 | |
| 7790 | var warning$$1 = null; |
| 7791 | if (hasScheduledUpdateInCurrentCommit) { |
| 7792 | warning$$1 = 'Lifecycle hook scheduled a cascading update'; |
| 7793 | } else if (commitCountInCurrentWorkLoop > 0) { |
| 7794 | warning$$1 = 'Caused by a cascading update in earlier commit'; |
| 7795 | } |
| 7796 | hasScheduledUpdateInCurrentCommit = false; |
| 7797 | commitCountInCurrentWorkLoop++; |
| 7798 | isCommitting = false; |
| 7799 | labelsInCurrentCommit.clear(); |
| 7800 | |
| 7801 | endMark('(Committing Changes)', '(Committing Changes)', warning$$1); |
| 7802 | } |
| 7803 | } |
| 7804 | |
| 7805 | function startCommitHostEffectsTimer() { |
| 7806 | if (enableUserTimingAPI) { |