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

Function startCommitTimer

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

Source from the content-addressed store, hash-verified

7137}
7138
7139function startCommitTimer() {
7140 if (enableUserTimingAPI) {
7141 if (!supportsUserTiming) {
7142 return;
7143 }
7144 isCommitting = true;
7145 hasScheduledUpdateInCurrentCommit = false;
7146 labelsInCurrentCommit.clear();
7147 beginMark('(Committing Changes)');
7148 }
7149}
7150
7151function stopCommitTimer() {
7152 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

beginMarkFunction · 0.70

Tested by

no test coverage detected