actualDuration and baseDuration

The two Profiler timings: actualDuration is how long this commit took to render, and baseDuration estimates how long the whole subtree would take without any memoization.

In more detail

If actualDuration is much smaller than baseDuration, memoization is skipping work. If they are close, most of the subtree re-renders on every update.

Related terms

Taught in

References