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

Function stopCommitTimer

code/communication/public/app.js:7825–7844  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7823}
7824
7825function stopCommitTimer() {
7826 if (enableUserTimingAPI) {
7827 if (!supportsUserTiming) {
7828 return;
7829 }
7830
7831 var warning$$1 = null;
7832 if (hasScheduledUpdateInCurrentCommit) {
7833 warning$$1 = 'Lifecycle hook scheduled a cascading update';
7834 } else if (commitCountInCurrentWorkLoop > 0) {
7835 warning$$1 = 'Caused by a cascading update in earlier commit';
7836 }
7837 hasScheduledUpdateInCurrentCommit = false;
7838 commitCountInCurrentWorkLoop++;
7839 isCommitting = false;
7840 labelsInCurrentCommit.clear();
7841
7842 endMark('(Committing Changes)', '(Committing Changes)', warning$$1);
7843 }
7844}
7845
7846function startCommitHostEffectsTimer() {
7847 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

endMarkFunction · 0.70

Tested by

no test coverage detected