Friday, October 26, 2012

Re: Gwt 2.5 super dev mode takes to much time


On Friday, October 26, 2012 11:12:54 AM UTC+2, Filipe Sousa wrote:
I'm trying it on a small project (300k LOC - 1033 java files + 367 ui files + 67 GWT-RPC services) and takes 539785 ms to compile every time I hit the compile button. The old dev mode takes less than 5s to refesh the page.

Compiling module pt.ipb.rad.RAD
   Compiling 1 permutation
      Compiling permutation 0...
      Source Maps Enabled
   Compile of permutations succeeded
Linking into /tmp/gwt-codeserver-857158151847711909.tmp/pt.ipb.rad.RAD/compile-1/war/rad; Writing extras to /tmp/gwt-codeserver-857158151847711909.tmp/pt.ipb.rad.RAD/compile-1/extras/rad
   Link succeeded
   Compilation succeeded -- 538.911s
Compile completed in 539785 ms

Fedora 17 x86_64, core i7, 8GB RAM

Only GWT-RPC and ClientBundle  are "incremental generators", so your 367 UiBinder templates are re-generated each time you compile the app.
This also affects DevMode, but then it only generates a template when its needed, whereas SuperDevMode recompiles the whole app each time.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mipup_FlC_UJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment