MCPcopy Index your code
hub / github.com/caseywebdev/react-list / recordEffectDuration

Function recordEffectDuration

docs/index.js:22670–22676  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22668 }
22669 }
22670 function recordEffectDuration() {
22671 if (0 <= profilerStartTime) {
22672 var elapsedTime = now() - profilerStartTime;
22673 profilerStartTime = -1;
22674 profilerEffectDuration += elapsedTime;
22675 }
22676 }
22677 function startEffectTimer() {
22678 profilerStartTime = now();
22679 }

Callers 8

commitHookLayoutEffectsFunction · 0.85
commitAttachRefFunction · 0.85
safelyDetachRefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…