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