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

Function stopCommitHostEffectsTimer

code/third-party/public/app.js:7054–7063  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7052}
7053
7054function stopCommitHostEffectsTimer() {
7055 if (enableUserTimingAPI) {
7056 if (!supportsUserTiming) {
7057 return;
7058 }
7059 var count = effectCountInCurrentCommit;
7060 effectCountInCurrentCommit = 0;
7061 endMark('(Committing Host Effects: ' + count + ' Total)', '(Committing Host Effects)', null);
7062 }
7063}
7064
7065function startCommitLifeCyclesTimer() {
7066 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

endMarkFunction · 0.70

Tested by

no test coverage detected