vconsole-stats-plugin
A vConsole plugin which can show Stats in front-end.
Based on the Stats https://github.com/mrdoob/stats.js
Demo
Usage
Download the latest version(copy dist/vconsole-stats-plugin.min.js). See all demo code: /example/demo.html
Or, install via npm:
npm install vconsole-stats-plugin -S
;;const vConsole = ;const plugin = vConsole;
Features
- Show/Close Stats
- Change Stats Panel
stats.js
JavaScript Performance Monitor
This class provides a simple info box that will help you monitor your code performance.
- FPS Frames rendered in the last second. The higher the number the better.
- MS Milliseconds needed to render a frame. The lower the number the better.
- MB MBytes of allocated memory. (Run Chrome with
--enable-precise-memory-info
) - CUSTOM User-defined panel support.
Screenshots