CPU使用率在AS3使用率、CPU

由网友(寄一片星空.)分享简介:我有一个大的项目,有很多类。这需要它在运行时,40%的CPU。什么是找出哪些业务和职能负责对负载的最佳方法是什么?我使用Flash Builder 4.5 AS3项目。内置探查并不能帮助我很多。谢谢I have a large project with lots of classes. It takes 40% CP...

我有一个大的项目,有很多类。这需要它在运行时,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.

阅读全文

相关推荐

最新文章