Performance monitor for Actionscript3 and haXe
Pull request Compare This branch is 1 commit behind mrdoob:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
src/net/hires/debug
LICENSE
README.md

README.md

Hi-ReS! Stats

Performance Monitor

This class provides a simple info box that will help you monitor your code performance. So far available for Actionscript and HaXe.

  • FPS Frames per second, how many frames were rendered in 1 second. The higher the number the better.
  • MS Milliseconds needed to render a frame. The lower the number the better.
  • MEM Memory your code is using, if it increases per frame is VERY wrong.
  • MAX Maximum memory the application reached.

Screenshot

hires_stats.png

Usage

addChild( new Stats() );

Controls

  • CLICK Top-half / bottom-half part of the panel to increase/decrease the FPS of the application.

Download

Stats.as
Stats.hx (Ported by David Wilhelm)