MCPcopy Create free account
hub / github.com/plotly/dash / stopProfilerTimerIfRunningAndRecordDelta

Function stopProfilerTimerIfRunningAndRecordDelta

dash/deps/react-dom@18.3.1.js:17700–17712  ·  view source on GitHub ↗
(fiber, overrideBaseTime)

Source from the content-addressed store, hash-verified

17698 }
17699
17700 function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
17701
17702 if (profilerStartTime >= 0) {
17703 var elapsedTime = now$1() - profilerStartTime;
17704 fiber.actualDuration += elapsedTime;
17705
17706 if (overrideBaseTime) {
17707 fiber.selfBaseDuration = elapsedTime;
17708 }
17709
17710 profilerStartTime = -1;
17711 }
17712 }
17713
17714 function recordLayoutEffectDuration(fiber) {
17715

Callers 3

handleErrorFunction · 0.70
performUnitOfWorkFunction · 0.70
completeUnitOfWorkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…