General > Flash & AIR Optimization & Debugging

How to know what function take the most time

(1/1)

jpauclair:
There is a couple of way to do that.
One of the most simple is to use getTimer() call before and after what you want to the time spent, and you use that to track down problems.

The other way is to use a profiler such as Flash Builder or TheMiner.

TheMiner is free to try out:
http://www.sociodox.com/theminer/feature.html#FunctionProfiler

Navigation

[0] Message Index

Go to full version