RSS
 

Flex 4 Gumbo Compiler Benchmark

21 Nov

‘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.

 
 

Leave a Reply

 

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

 
  1. Jason

    April 17, 2009 at 3:12 pm

    Thanks for posting this. Helped me figure out the Matrix3D error very quickly from a google search.