Wrap a performance-sensitive component tree with React.Profiler and log the render timing data (id, phase, actualDuration) to the console.
Click Run to test your code