The Stats.js class provides a simple info box that will monitor code performance.
Based on this, developers can tell if their code is to blame for bad user experience or not.
It shows:
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.
MEM - Mbytes of memory allocated. Make sure it doesn't keep incrementing. (Webkit-based browsers only)
What is new in this release:
- Browserify support.
What is new in version r12:
- Browserify support.
What is new in version r11:
- Updated examples.
What is new in version r10:
- Updated README.md.
What is new in version r9:
- Changed .domElement to .getDomElement().
- Added .getFps(), .getFpsMin(), .getFpsMax(), .getMs(), .getMsMin(), .getMsMax().
What is new in version r8:
- Updated README.
What is new in version r6:
- Updated check for memory accesible browsers.
- Renamed MEM to MB for consistency reasons.
What is new in version r5:
- Different color per mode.
- Added MEM mode. (Webkit-based browsers only).
- Force text left aligned.
Requirements:
- JavaScript enabled on client side
Comments not found