React Performance Devtool is a browser extension for inspecting the performance of React Components. It statistically examines the performance of React components based on the measures which are collected by React using window.performance API. Along with the browser extension, the measures can also be inspected in a console. A demo of the extension being used to examine the performance of React components on my website. Performance measures can also be logged to a console. With every re-render, measures are updated and logged to the console. To use this devtool extension, you'll need to register an observer in your app which will observe a collection of data (performance measures) over time. Registering an observer hooks an object containing information about the events and performance measures of React components to the window object, which can then be accessed inside the inspected window using eval().
Features
- Log the measures to a console
- Remove or unmount the component instances which are not being used
- Inspect what is blocking or taking more time after an operation has been started
- Examine the table and see for which components, you need to write shouldComponentUpdate lifecycle hook
- Examine which components are taking more time to load
- For Chrome and Firefox