| 7021 | } |
| 7022 | |
| 7023 | function stopCommitTimer() { |
| 7024 | if (enableUserTimingAPI) { |
| 7025 | if (!supportsUserTiming) { |
| 7026 | return; |
| 7027 | } |
| 7028 | |
| 7029 | var warning$$1 = null; |
| 7030 | if (hasScheduledUpdateInCurrentCommit) { |
| 7031 | warning$$1 = 'Lifecycle hook scheduled a cascading update'; |
| 7032 | } else if (commitCountInCurrentWorkLoop > 0) { |
| 7033 | warning$$1 = 'Caused by a cascading update in earlier commit'; |
| 7034 | } |
| 7035 | hasScheduledUpdateInCurrentCommit = false; |
| 7036 | commitCountInCurrentWorkLoop++; |
| 7037 | isCommitting = false; |
| 7038 | labelsInCurrentCommit.clear(); |
| 7039 | |
| 7040 | endMark('(Committing Changes)', '(Committing Changes)', warning$$1); |
| 7041 | } |
| 7042 | } |
| 7043 | |
| 7044 | function startCommitHostEffectsTimer() { |
| 7045 | if (enableUserTimingAPI) { |