1

As per the React flame chart, the NaiveSameValuesEveryRender > ArrayComponent took almost twice as long to render as the MemoizedValues > ArrayComponent. The reason is because the bar is almost twice as wide.

react profile results

However, the tooltips say that the render times are identical. So what are the render times?

Render time for NaiveSameValuesEveryRender > ArrayComponent:

Render time for NaiveSameValuesEveryRender

Render time for MemoizedValues > ArrayComponent:

Render time for MemoizedValues

U Avalos
  • 6,538
  • 7
  • 48
  • 81

0 Answers0