User Manual

Mini Stats

Mini stats is a lightweight graphical display of an application's key performance statistics. It shows draw call count, frame time, CPU load and (where supported) GPU load.

Editor users can enable the mini-stats panel via the Launch button menu:

Launch Menu

Clicking on the mini-stats will cycle through three supported sizes:

Mini Stats

The information displayed is as follows:

The CPU and GPU graphs display a breakdown of the update and render portion of the frame using red and green respectively.

Using Mini-Stats Outside of the Editor

While the mini-stats panel is incorporated into the Editor's Launch page, you can also use it independent of the Editor. The source code can be found here. Simply build playcanvas-extras.js, include it in your project and call:

    const miniStats = new pcx.MiniStats(app);

The 'Engine-only' examples all do this.