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

Function startCommitTimer

code/controlled-uncontrolled/public/app.js:7102–7112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7100}
7101
7102function startCommitTimer() {
7103 if (enableUserTimingAPI) {
7104 if (!supportsUserTiming) {
7105 return;
7106 }
7107 isCommitting = true;
7108 hasScheduledUpdateInCurrentCommit = false;
7109 labelsInCurrentCommit.clear();
7110 beginMark('(Committing Changes)');
7111 }
7112}
7113
7114function stopCommitTimer() {
7115 if (enableUserTimingAPI) {

Callers 1

commitRootFunction · 0.70

Calls 1

beginMarkFunction · 0.70

Tested by

no test coverage detected