Description
react-fps-stats is a small React component that shows a frames-per-second meter on screen, so you can watch the graphics performance of an app while you work on it. It is forked from react-stats and takes inspiration from stats.js. By default the meter is fixed in the top left corner of the screen. You can move it with the top, right, bottom and left props, which accept strings or numbers. To position it from the bottom or the right, pass 'auto' for the top or left prop, since those have defaults. The graph size is set with the graphHeight and graphWidth props, with defaults of 29 pixels high and 70 pixels wide. The README suggests Chrome's built-in FPS meter as an alternative when the meter does not need to be seen by users. The repository describes itself as a tiny library, and a CodeSandbox demo is linked from it.…
Highlights
- FPS meter for React apps
- Fixed in the top left by default
- Position with top, right, bottom and left props
- Graph size set by graphHeight and graphWidth
- Chrome DevTools FPS meter as an alternative
Ratings & Reviews
No ratings yet
Be the first to rate react-fps-stats.
People also visit

react-on-screen
A wrapper component to track if your react component is visible on screen
react-fps-stats FAQ
What does react-fps-stats show?
A frames-per-second meter for graphics performance, drawn on top of your React app.
Where does the meter appear?
Fixed in the top left corner by default. Pass top, right, bottom or left props to move it.
How big is the graph?
29 pixels high and 70 pixels wide by default. Change it with the graphHeight and graphWidth props.
Is there a built-in alternative?
The README suggests Chrome DevTools' FPS meter if your users do not need to see the meter.
What are the best react-fps-stats alternatives?
Popular alternatives to react-fps-stats include react-on-screen, react-fusioncharts and react-native-graph. See all react-fps-stats alternatives



















