I work with a rather large code base using GWT 2.6.0 currently. I'm 
currently evaluating GWT 2.7.0 for upgrade. In my initial tests, I'm 
noticing a 50% slow down in build times. With *GWT 2.6.0*, I'm able to 
build my war in *2.53 minutes*. After changing to *GWT 2.7.0*, my build has 
gone to *3.65 minutes*.I've provided my compile arguments below. I don't 
know if there's any new arguments in GWT to reduce the build time for 
development iterations. When building the file war, I'm not so worried 
about GWT compile build time but development iterations impact our 100+ 
developers working with this.

*Notes about our product & GWT usage:*

   - Extensive use of GWT Injection
   - Extensive use of UI binder (248 *.ui.xml)
   - We know this is problematic & are actively looking for better ways to 
      define & maintain our UI.
   - Use of GWTP
   - The GWT compile generates ~50 MB of source files.
      - We know this is out of control & are working to reduce the about of 
      generated code.
   
 
*GWT compile arguments:*

   - java
      - Note, we're not using Maven or Ant. We're invoking the GWT compile 
      from the command line with customized build scripts.
   - -cp "85 jars"
      - I don't know if the number of jars/directories impact this.
   - -Xmx5g
      - We've had to use up to 10 GB to build or product. We have optional 
      modules which require a lot of extra memory.
   - -Dgwt.persistentunitcachedir=out/gwt-unitCache
   - com.google.gwt.dev.Compiler
   - -war out/war
   - -gen out/gen
   - -localWorkers 1
   - -nocompileReport
   - -failOnError
   - -XnocheckCasts
   - -XnoclassMetadata
   - -XnocheckCasts
   - -logLevel INFO
   - -style OBF
   - -XfragmentCount 100
   - -draftCompile -optimize 0
      - I've use these in development builds. It increases the memory 
      required for the GWT compile but tends to speed up the compile by almost 
a 
      minute.
   - "Module"

*Lines of code:*

   - Java
   - physical lines : 801029
      - lines of source code : 446124
      - number of files read : 5038
      - JavaScript
   - physical lines : 85661
      - lines of source code : 63079
      - number of files read : 248
   
Thanks, Denny Chitwood

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to