AS3 中的 CPU 使用率
我有一个包含很多课程的大项目。运行时占用CPU 40%。找出哪些操作和函数负责负载的最佳方法是什么?我正在使用 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以尝试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.
如果您正在寻找 Profiler,此问题的答案可能会对您有所帮助。
If you're looking for a Profiler, this answers to this question might help you out.