分析 ActionScript-3 代码 [英] Profiling ActionScript-3 Code
问题描述
有没有什么方法或工具可以在不使用 Flex 的情况下分析 AS3 代码?
Is there any way or tool available that can profile AS3 code without using Flex?
如何分析用 Flash CS3 和 AS3 编写的现有项目?
How can I profile existing project written in Flash CS3 and AS3?
推荐答案
我会推荐 Flash 大师 Grant Skinner 的性能分析器
I would recommend flash guru Grant Skinner's performance profiler
"将它指向一个类的实例,它将测试所有公众方法.或者,使用属性或用于形式化测试的参数名称、描述和具体方法列表.
"Point it at an instance of a class, and it will test all the public methods on it. Or, use properties or parameters to formalize the tests with names, descriptions, and specific method lists.
您甚至可以使用 PerformanceTest测试复杂的渲染时间向量或过滤器.
You can even use PerformanceTest to test the render time for complex vectors or filters.
您还可以轻松自定义它的方式将测试结果记录到输出它们不同,将它们保存到文件中,或绘制结果图表.
You can also easily customize how it logs the results of tests to output them differently, save them to a file, or graph the results.
http://www.gskinner.com/blog/archives/2009/04/as3_performance.html
这篇关于分析 ActionScript-3 代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!