The 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.
Here are some key features of "Stats.js":
- 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)