| 7881 | } |
| 7882 | |
| 7883 | function stopCommitTimer() { |
| 7884 | if (enableUserTimingAPI) { |
| 7885 | if (!supportsUserTiming) { |
| 7886 | return; |
| 7887 | } |
| 7888 | |
| 7889 | var warning$$1 = null; |
| 7890 | if (hasScheduledUpdateInCurrentCommit) { |
| 7891 | warning$$1 = 'Lifecycle hook scheduled a cascading update'; |
| 7892 | } else if (commitCountInCurrentWorkLoop > 0) { |
| 7893 | warning$$1 = 'Caused by a cascading update in earlier commit'; |
| 7894 | } |
| 7895 | hasScheduledUpdateInCurrentCommit = false; |
| 7896 | commitCountInCurrentWorkLoop++; |
| 7897 | isCommitting = false; |
| 7898 | labelsInCurrentCommit.clear(); |
| 7899 | |
| 7900 | endMark('(Committing Changes)', '(Committing Changes)', warning$$1); |
| 7901 | } |
| 7902 | } |
| 7903 | |
| 7904 | function startCommitHostEffectsTimer() { |
| 7905 | if (enableUserTimingAPI) { |