Compile time jumps when moving from Flex Build to Flash Builder
I moved from using the Flex Builder 3 IDE to Flash Builder a couple weeks ago and have noticed a ridiculous jump in compile times with the same project. It almost seems like every time I build it does a clean build. The project I am working with is pretty big, but when it takes more than 4 mins to build, something is wrong. I tried adding more memory to eclipse and all the tricks I could find on the web but the compile time never really changed.
I am running under Windows 7 32bit, and I get the same performanc开发者_开发知识库e from the plugin and stand alone version of the IDE.
Anyone know why and how I can speed things up?
Are you using the same SDK? Changes in SDK could affect performance; although I would expect that later SDKs would have better performance than earlier SDKs.
A Change in JVM could affect performance, so check that. I also know that some people have seen performance improvements based on settings for the JVM arguments in the eclipse.ini file. Usually they use Xms and Xmx. Although I never did that on my new machine, so can't check specifics. Experiment w/ values. Here is a nice writeup specific to Flex Builder.
You can also try enabling incremental compilation.
Just a shot in the dark, but are you by any chance working on a PC which has a remote profile so that your workspace files aren't stored locally? If so try switching to a different workspace created in a folder that's definitely local (nothing under /documents and settings etc).
Edit:
If that's the issue you'd have to go into the FB install folder's configuration directory to edit config.ini and change any user.home references to hard coded local paths.
i.e.
osgi.instance.area.default=@user.home/Adobe Flash Builder
becomes
osgi.instance.area.default=C:/somevalidpath/Adobe Flash Builder
精彩评论