Friday, April 19, 2013

Re: GWT - So terribly slow that makes development hard ... very hard ... extremely hard ...

Ani, here is what I see for compile times when I use super dev mode.

Release build (full GWT compile, 6 permutations); 3 minutes.
Starting the super dev mode code server (which does an initial compile): 60 seconds.
Compile using DevMode On bookmarklet in browser; 10 seconds.

So, in the morning I start the code sever (60 seconds) and leave it running all day.  From then on, when I change code in Eclipse, I switch to Chrome, run the bookmarklet (10 seconds) to compile it, then debug the Java using source map in Chrome Dev Tools.

The bookmarklet compiles a single permutation with reduced number of optimizations, so it is very fast.  Overall it's a nice workflow.  It's a lot like a JavaScript workflow, except you get a great IDE, tooling and type checking.

One thing to know about my project is that I'm doing low level browser coding using GWT.  I've written my own framework.  I don't use GWT widgets.  I don't use UIBinder, which uses a GWT Generator (I believe).  My understanding is that generators are very slow when used with Super Dev Mode because they run each time the bookmarklet compile is done.

I hope that helps.

Ed

On Fri, Apr 19, 2013 at 7:54 PM, emurmur wrote:
We are using GWT and it is performing very very well.  We use SuperDev mode.  We have no generators of any kind (I'm told generators can slow down SuperDev mode compiles considerably).  Our code/compile/debug cycle is very fast.  Doing a release build is pretty slow, but that does not happen very often.  We are very productive with it (and so we are happy).

Ed
 
On Thursday, April 18, 2013 10:22:15 AM UTC-7, Ani wrote:
Now that we have been using GWT for a while ... what do you think? Was it the right choice or thinking of migrating to other framework?


--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment