Flex 4 (Gumbo) Compiler Benchmark
21 November 2008‘Benchmark’ is being used pretty loosely here. I just got back from MAX and thought I’d check out the new compiler performance.
In addition to the exciting new display logic separation (Spark Framework), the SDK team has worked on speeding up compilation.
I compiled (incremental build) a project containing 57K lines of code (34K AS3, 23K MXML) under the 3.1 SDK via FlexBuilder. The compile took 40 seconds.
I then pointed FlexBuilder to the Flex 4.0.0 SDK. Make sure you update the ‘Require Flash Player Version’ on the Flex Compiler settings page to 10.0.0. If not you will receive errors including
1046 type was not found or was not a compile-time constant Matrix3D
After building the project I then preformed the same incremental build under 4.0.0 (Gumbo). The compile took 25 seconds.
Results:
SDK 3.1: 40 seconds
SDK 4.0.0 (Gumbo): 25 seconds
That’s not too bad, only ~62% of my original compile time.

on April 17th, 2009 at 3:12 pm
Thanks for posting this. Helped me figure out the Matrix3D error very quickly from a google search.