| 7112 | } |
| 7113 | |
| 7114 | function stopCommitTimer() { |
| 7115 | if (enableUserTimingAPI) { |
| 7116 | if (!supportsUserTiming) { |
| 7117 | return; |
| 7118 | } |
| 7119 | |
| 7120 | var warning$$1 = null; |
| 7121 | if (hasScheduledUpdateInCurrentCommit) { |
| 7122 | warning$$1 = 'Lifecycle hook scheduled a cascading update'; |
| 7123 | } else if (commitCountInCurrentWorkLoop > 0) { |
| 7124 | warning$$1 = 'Caused by a cascading update in earlier commit'; |
| 7125 | } |
| 7126 | hasScheduledUpdateInCurrentCommit = false; |
| 7127 | commitCountInCurrentWorkLoop++; |
| 7128 | isCommitting = false; |
| 7129 | labelsInCurrentCommit.clear(); |
| 7130 | |
| 7131 | endMark('(Committing Changes)', '(Committing Changes)', warning$$1); |
| 7132 | } |
| 7133 | } |
| 7134 | |
| 7135 | function startCommitHostEffectsTimer() { |
| 7136 | if (enableUserTimingAPI) { |