MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / stopCommitTimer

Function stopCommitTimer

code/dependency-injection/public/app.js:7883–7902  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7881}
7882
7883function stopCommitTimer() {
7884 if (enableUserTimingAPI) {
7885 if (!supportsUserTiming) {
7886 return;
7887 }
7888
7889 var warning$$1 = null;
7890 if (hasScheduledUpdateInCurrentCommit) {
7891 warning$$1 = 'Lifecycle hook scheduled a cascading update';
7892 } else if (commitCountInCurrentWorkLoop > 0) {
7893 warning$$1 = 'Caused by a cascading update in earlier commit';
7894 }
7895 hasScheduledUpdateInCurrentCommit = false;
7896 commitCountInCurrentWorkLoop++;
7897 isCommitting = false;
7898 labelsInCurrentCommit.clear();
7899
7900 endMark('(Committing Changes)', '(Committing Changes)', warning$$1);
7901 }
7902}
7903
7904function startCommitHostEffectsTimer() {
7905 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

endMarkFunction · 0.70

Tested by

no test coverage detected