On 8/26/07, zwetan <[EMAIL PROTECTED]> wrote:
> iterating x times to execute a function is not a real statistic,
> you need to run that time sample multiple time if you want to obtain
> consistent results

I don't know about Windows, but on Linux (and quite possibly OSX) you
can use 'time' as they did in the thread you linked to. It would be
much more accurate, but it also would include initialization of the
player (which is why I asked for an .abc compile target for haXe a
while ago, to test in avmplus directly). However, this overhead could
be measured as well and subtracted.

If you use getTimer to measure the duration, the fastest test run is
the one to look at. Slower results only mean that the system spent
time on other stuff while running the test, or the GC had kicked in.

Mark

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to