MCPcopy
hub / github.com/facebook/react / recordCommitTime

Function recordCommitTime

packages/react-reconciler/src/ReactProfilerTimer.js:572–577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

570}
571
572export function recordCommitTime(): void {
573 if (!enableProfilerTimer) {
574 return;
575 }
576 commitStartTime = now();
577}
578
579export function recordCommitEndTime(): void {
580 if (!enableProfilerTimer) {

Callers 2

commitRootFunction · 0.90
flushLayoutEffectsFunction · 0.90

Calls 1

nowFunction · 0.50

Tested by

no test coverage detected