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

Function startCommitLifeCyclesTimer

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

Source from the content-addressed store, hash-verified

7191}
7192
7193function startCommitLifeCyclesTimer() {
7194 if (enableUserTimingAPI) {
7195 if (!supportsUserTiming) {
7196 return;
7197 }
7198 effectCountInCurrentCommit = 0;
7199 beginMark('(Calling Lifecycle Methods)');
7200 }
7201}
7202
7203function stopCommitLifeCyclesTimer() {
7204 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

beginMarkFunction · 0.70

Tested by

no test coverage detected