CPU usage in AS3

做~自己de王妃 提交于 2019-12-24 10:08:31

问题


I have a large project with lots of classes. It takes 40% CPU when it is running. What is the best way to find out what operations and functions are responsible for the load? I am using Flash Builder 4.5 AS3 Project. Built-in profiler doesn't help me much. Thanks


回答1:


You can try SWFWire Debugger. Check the box that says Show method entry. If you also check Show method exit, it will tell you how long each function took to execute. The object graph might also help if you are creating and destroying objects often.




回答2:


If you're looking for a Profiler, this answers to this question might help you out.



来源:https://stackoverflow.com/questions/7017317/cpu-usage-in-as3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!