MCPcopy Index your code
hub / github.com/react/react / recordRenderTime

Function recordRenderTime

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

Source from the content-addressed store, hash-verified

563}
564
565export function recordRenderTime(): void {
566 if (!enableProfilerTimer || !enableComponentPerformanceTrack) {
567 return;
568 }
569 renderStartTime = now();
570}
571
572export function recordCommitTime(): void {
573 if (!enableProfilerTimer) {

Callers 1

prepareFreshStackFunction · 0.90

Calls 1

nowFunction · 0.50

Tested by

no test coverage detected