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

Function stopCommitHostEffectsTimer

code/new-context-api/public/app.js:7182–7191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7180}
7181
7182function stopCommitHostEffectsTimer() {
7183 if (enableUserTimingAPI) {
7184 if (!supportsUserTiming) {
7185 return;
7186 }
7187 var count = effectCountInCurrentCommit;
7188 effectCountInCurrentCommit = 0;
7189 endMark('(Committing Host Effects: ' + count + ' Total)', '(Committing Host Effects)', null);
7190 }
7191}
7192
7193function startCommitLifeCyclesTimer() {
7194 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

endMarkFunction · 0.70

Tested by

no test coverage detected