The Profiler API measures rendering performance of components, tracking render times and identifying bottlenecks.
Profiler
render
<Profiler id="MyComponent" onRender={handleRender}> <MyComponent /> </Profiler>