貘良了 发表于 2009-12-9 10:42:25

Mr.doob的stats.as,检测内存,FPS等。

FPS Frames per second, how many frames were rendered in 1 second, the bigger the better.
MS Milliseconds needed to render a frame, the lower the better.
MEM Memory your code is using, if it increases per frame is VERY wrong.
MAX Maximum memory the application reached.
http://mrdoob.googlecode.com/svn/trunk/assets/Anatoly%20Zenkov%20-%20Portrait%20of%20Mr.%20Doob.jpg

下载:
http://mrdoob.googlecode.com/svn/trunk/libs/net/hires/debug/Stats.as

使用方法:import 之后,addChild( new Stats() );添加到最后你想显示的地方。
页: [1]
查看完整版本: Mr.doob的stats.as,检测内存,FPS等。