CPU使用率在AS3 [英] CPU usage in AS3
本文介绍了CPU使用率在AS3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个大的项目,有很多类。这需要它在运行时,40%的CPU。什么是找出哪些业务和职能负责对负载的最佳方法是什么?我使用Flash Builder 4.5 AS3项目。内置探查并不能帮助我很多。谢谢
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
推荐答案
您可以尝试 SWFWire调试。勾选写着显示方式输入。如果您还检查显示方法退出,它会告诉你多久每个函数来执行。对象图也可以帮助,如果你正在创建并经常销毁对象。
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.
这篇关于CPU使用率在AS3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文