| 7823 | } |
| 7824 | |
| 7825 | function stopCommitTimer() { |
| 7826 | if (enableUserTimingAPI) { |
| 7827 | if (!supportsUserTiming) { |
| 7828 | return; |
| 7829 | } |
| 7830 | |
| 7831 | var warning$$1 = null; |
| 7832 | if (hasScheduledUpdateInCurrentCommit) { |
| 7833 | warning$$1 = 'Lifecycle hook scheduled a cascading update'; |
| 7834 | } else if (commitCountInCurrentWorkLoop > 0) { |
| 7835 | warning$$1 = 'Caused by a cascading update in earlier commit'; |
| 7836 | } |
| 7837 | hasScheduledUpdateInCurrentCommit = false; |
| 7838 | commitCountInCurrentWorkLoop++; |
| 7839 | isCommitting = false; |
| 7840 | labelsInCurrentCommit.clear(); |
| 7841 | |
| 7842 | endMark('(Committing Changes)', '(Committing Changes)', warning$$1); |
| 7843 | } |
| 7844 | } |
| 7845 | |
| 7846 | function startCommitHostEffectsTimer() { |
| 7847 | if (enableUserTimingAPI) { |