> 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.
There will be such things in haXe pretty soon. It will enable "custom profiling" just like "custom trace" facilities in MTASC and haXe. Nicolas _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
