| 7149 | } |
| 7150 | |
| 7151 | function stopCommitTimer() { |
| 7152 | if (enableUserTimingAPI) { |
| 7153 | if (!supportsUserTiming) { |
| 7154 | return; |
| 7155 | } |
| 7156 | |
| 7157 | var warning$$1 = null; |
| 7158 | if (hasScheduledUpdateInCurrentCommit) { |
| 7159 | warning$$1 = 'Lifecycle hook scheduled a cascading update'; |
| 7160 | } else if (commitCountInCurrentWorkLoop > 0) { |
| 7161 | warning$$1 = 'Caused by a cascading update in earlier commit'; |
| 7162 | } |
| 7163 | hasScheduledUpdateInCurrentCommit = false; |
| 7164 | commitCountInCurrentWorkLoop++; |
| 7165 | isCommitting = false; |
| 7166 | labelsInCurrentCommit.clear(); |
| 7167 | |
| 7168 | endMark('(Committing Changes)', '(Committing Changes)', warning$$1); |
| 7169 | } |
| 7170 | } |
| 7171 | |
| 7172 | function startCommitHostEffectsTimer() { |
| 7173 | if (enableUserTimingAPI) { |