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

Function startCommitTimer

code/one-direction-data-flow/public/app.js:7651–7661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7649}
7650
7651function startCommitTimer() {
7652 if (enableUserTimingAPI) {
7653 if (!supportsUserTiming) {
7654 return;
7655 }
7656 isCommitting = true;
7657 hasScheduledUpdateInCurrentCommit = false;
7658 labelsInCurrentCommit.clear();
7659 beginMark('(Committing Changes)');
7660 }
7661}
7662
7663function stopCommitTimer() {
7664 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

beginMarkFunction · 0.70

Tested by

no test coverage detected