| 8039 | } |
| 8040 | |
| 8041 | function stopCommitTimer() { |
| 8042 | if (enableUserTimingAPI) { |
| 8043 | if (!supportsUserTiming) { |
| 8044 | return; |
| 8045 | } |
| 8046 | |
| 8047 | var warning$$1 = null; |
| 8048 | if (hasScheduledUpdateInCurrentCommit) { |
| 8049 | warning$$1 = 'Lifecycle hook scheduled a cascading update'; |
| 8050 | } else if (commitCountInCurrentWorkLoop > 0) { |
| 8051 | warning$$1 = 'Caused by a cascading update in earlier commit'; |
| 8052 | } |
| 8053 | hasScheduledUpdateInCurrentCommit = false; |
| 8054 | commitCountInCurrentWorkLoop++; |
| 8055 | isCommitting = false; |
| 8056 | labelsInCurrentCommit.clear(); |
| 8057 | |
| 8058 | endMark('(Committing Changes)', '(Committing Changes)', warning$$1); |
| 8059 | } |
| 8060 | } |
| 8061 | |
| 8062 | function startCommitHostEffectsTimer() { |
| 8063 | if (enableUserTimingAPI) { |