From what I know, this is impossible to learn due to the abstraction between actionscript and Flash Player. It would be best to test the function a few hundred thousand times and look at the OS processor monitor to see how much processor it uses.
Honestly, I never do this because I prefer to iterate over my code and find bottlenecks and improve them. Anyway, I'm testing the block and checking the time it takes, then try to optimize it.
J_A_X source
share