Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.
/ stats.as Public archive
forked from theflashbum/stats.as

Actionscript Performance Monitor

License

Notifications You must be signed in to change notification settings

illuzor/stats.as

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stats.as

Actionscript Performance Monitor

stats_as.png

This class provides a simple info box that will help you monitor your code performance.

  • 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 number, the better.
  • MEM Memory your code is using, if it increases per frame is VERY wrong.
  • MAX Maximum memory the application reached.

How to use

addChild( new Stats() );

Controls

  • LEFT CLICK on the top-half/bottom-half part of the panel to increase/decrease the movie FPS limit.

Change Log

2009 10 22 - v2.2

  • FlipX of graph to be more logic.
  • Destroy on Event.REMOVED_FROM_STAGE (thx joshtynjala)

2009 03 28 - v2.1

  • Theme support.

2009 02 21 - v2.0

  • changed text system
  • added MAX value (Max memory reached). very useful for spotting memory leaks
  • removed player version on roll over (let me know if this is a bad idea)
  • simplified

2009 02 07 - v1.5

  • onRemovedFromStage() (thx huihuicn.xu)

2008 12 14 - v1.4

  • Code optimisations, should take even less CPU
  • Fixed ugly drawing when transparent (thx makc.the.great)
  • Added Version info on Mouse Over.

Releases

No releases published

Packages

No packages published

Languages

  • ActionScript 100.0%