| 7926 | } |
| 7927 | |
| 7928 | function stopCommitTimer() { |
| 7929 | if (enableUserTimingAPI) { |
| 7930 | if (!supportsUserTiming) { |
| 7931 | return; |
| 7932 | } |
| 7933 | |
| 7934 | var warning$$1 = null; |
| 7935 | if (hasScheduledUpdateInCurrentCommit) { |
| 7936 | warning$$1 = 'Lifecycle hook scheduled a cascading update'; |
| 7937 | } else if (commitCountInCurrentWorkLoop > 0) { |
| 7938 | warning$$1 = 'Caused by a cascading update in earlier commit'; |
| 7939 | } |
| 7940 | hasScheduledUpdateInCurrentCommit = false; |
| 7941 | commitCountInCurrentWorkLoop++; |
| 7942 | isCommitting = false; |
| 7943 | labelsInCurrentCommit.clear(); |
| 7944 | |
| 7945 | endMark('(Committing Changes)', '(Committing Changes)', warning$$1); |
| 7946 | } |
| 7947 | } |
| 7948 | |
| 7949 | function startCommitHostEffectsTimer() { |
| 7950 | if (enableUserTimingAPI) { |