Wednesday, February 5, 2014

Re: Compile time with a large project

On our build machine (which isn't the fastest thing in the world), it takes 40 minutes to run javac + build 18 permutations.  Running the compileReport on it, tie "Full code size" is just under 5MB.

And yes, multiple apps, each having their own html host pages.  I was thinking that splitting them out would reduce the global optimization work done by the GWT compiler.


On Wednesday, February 5, 2014 12:37:09 PM UTC-6, Jens wrote:
I assume with multiple projects you mean multiple apps each having its own html host page? I don't think you will gain a lot because at the end you have to compile the same amount of source files regardless if its one big project or 10 smaller projects.

If your app takes really that long to compile, I would first go for distributed compilation so you can compile your permutations in parallel on multiple hosts.


-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment