I have a function that I want, but I do not know how to do it. In javascript, I can just get the current time in milliseconds, run the rest of my function, get the current time in milliseconds again and warn the difference. Viola, I know how long the function took.
In ActionScript, it runs all at once, so my start and end times are the same. How to measure the amount of time that a function performs for processing?
Thank,
source
share