MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / stopCommitTimer

Function stopCommitTimer

code/composition/public/app.js:7928–7947  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7926}
7927
7928function 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
7949function startCommitHostEffectsTimer() {
7950 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

endMarkFunction · 0.70

Tested by

no test coverage detected