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

Function stopCommitHostEffectsTimer

code/event-handlers/public/app.js:7151–7160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7149}
7150
7151function stopCommitHostEffectsTimer() {
7152 if (enableUserTimingAPI) {
7153 if (!supportsUserTiming) {
7154 return;
7155 }
7156 var count = effectCountInCurrentCommit;
7157 effectCountInCurrentCommit = 0;
7158 endMark('(Committing Host Effects: ' + count + ' Total)', '(Committing Host Effects)', null);
7159 }
7160}
7161
7162function startCommitLifeCyclesTimer() {
7163 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

endMarkFunction · 0.70

Tested by

no test coverage detected