gwtbrowserperformancetweak

if basic, sample GWT app takes 30sec to load in browser, is that normal? will real apps take 2 mins?


I have a decent machine capable of running 64 bit Windows 7. So how come any time I stop a small sample GWT app in "development mode", edit it and restart it it takes 30 sec to become responsive in the browser, both in latest Firefox and latest Chrome?

Is that sort of molasses-based edit-compile cycle just the normal, expected thing for GWT developers nowadays?

Will it get much worse for more realistic apps or is the whole of those 30 sec just the framework overhead, and my own code would not make it much more bloated than that any time soon?

Can this problem be alleviated by using some other "mode" or by whatever other tweak solution?

Do Google people have much faster machines than I do on which this is less of a pain or do they suffer like the rest of us?


Solution

  • I guess my answer is in the form of a question, "Are you sure you're really needing to restart at all?"

    Assuming you're running it hosted within the browser (which it sounds like you are) then most changes are "hot" almost as soon as you've finished them. I spent yesterday doing all kinds of changes to the main code file in a module and didn't have to restart the server for any of them.

    I often had to reload the page within the browser to see the changes, but that's a different issue.