Gwt 2.5 super dev mode takes to much time

203 views
Skip to first unread message

Filipe Sousa

unread,
Oct 26, 2012, 5:12:54 AM10/26/12
to google-we...@googlegroups.com
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

Thomas Broyer

unread,
Oct 26, 2012, 5:28:16 AM10/26/12
to google-we...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages