R – What are some resources for optimizing ActionScript (flash) for speed and size

actionscript-3flashperformance

I'm especially interested in memory profiling, reducing the size of a compiled .swf, measuring network latency, etc. Also, I'm focussed entirely on AS3.

Best Answer

The latest Flex Builder Professional includes both memory and performance profilers built in:

Powerful testing tools (New in Flex Builder 3) (Professional edition only)

The Flex Builder 3 memory and performance profilers enable developers to improve application performance by providing tools to monitor and analyze memory consumption and CPU cycles. Support for automated functional testing tools such as HP QuickTest Professional (formerly Mercury QuickTest Professional) is also now available in Flex Builder 3 Professional.

It doesn't include network latency -- I haven't heard of built-in tools to do anything like that -- would a packet sniffer suit your needs for that?