A lightweight JavaScript library for real-time performance monitoring of frames per second, render time, and memory usage.
Stats.js is a lightweight JavaScript library that provides real-time performance monitoring for web applications. It displays key metrics like frames per second (FPS), render time in milliseconds (MS), and memory usage (MB) through an on-screen overlay, helping developers identify performance issues during development.
Web developers and game developers who need to monitor application performance in real-time, particularly those working on animations, interactive visualizations, or performance-critical applications.
Developers choose Stats.js for its simplicity, zero dependencies, and immediate visual feedback—it can be added to any project with just a few lines of code and provides essential metrics without complex setup.
JavaScript Performance Monitor
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Stats.js has zero dependencies and can be added with just a few lines of code, as shown in the README's simple installation and usage snippet.
It provides immediate on-screen overlays for FPS, MS, and MB metrics, helping developers spot performance issues during development without complex setup.
The library allows adding user-defined monitoring panels, enabling developers to track specific application metrics beyond the default ones, as mentioned in the features.
A provided bookmarklet lets developers inject Stats.js into any webpage for quick performance checks without modifying source code, ideal for ad-hoc testing.
It only covers basic metrics like FPS and render time, lacking advanced profiling features such as CPU usage, network activity, or frame-by-frame breakdowns.
The MB panel requires running Chrome with the --enable-precise-memory-info flag, making it unreliable in other browsers or default setups, as noted in the README.
Metrics are displayed only in real-time with no built-in way to save, export, or log historical data for later analysis, limiting long-term debugging.