On 12/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is there an open source memory and resource profiler for flash projects? Or do
> I just try to profile it with such tools as top in Linux?
>

I don't believe there are any memory profilers for flash, I don't know
if such a thing is even possible. I know there is a cpu time profiler
for flash, but it only worked on older (like flash 6 IIRC). Maybe bug
Nicolas to add some profiling features to his compilers...
Basically, you need to insert a small amount of code, at the start &
end of each function, which logs the time (using getTimer()) that that
point was passed. After you are done, you can compile the report
(which should be HUGE...2 lines for each function call) to see where
the cpu time is being spent. The hardest part is inserting the tracing
code into each and every function definition. If it could be done
automatically by the compiler, it would be nice.

-David R

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

Reply via email to