Friday, September 21, 2007

How to make Adobe Flex compile 60 times faster

Thanks to a collegue I learned how to speed up compilations with a factor 60!!! It's actually very easy: instead of 10 or 15 projects with references to each other put everything in 1 project. I know that it's 'not done' from a structural point of view but if compilations only take 5 seconds instead of 5 minutes...

3 comments:

Kocka said...

Is it good for the component reuse? :)

Ria Flex said...

The 'problem' with this approach is that components can refer to each other. This is often the result of bad design and can be prevented by putting the components in different projects (because circular references aren't allowed). But if compilations become 60 times faster it might be worth considering...

Anonymous said...

You could also just -close- the projects you don't need to compile at the moment