Hi surfer, In addition to the tips suggested here, the new parallel permutation compilation mode available in the SVN trunk has also shown to drastically reduce compilation time. It will be available in the GWT 1.6 release.
You can invoke the multi-threaded compilation mode by passing in the -localWorkers N flag, where N is the number of threads you want to use to run the compilation. Hope that helps, -Sumit Chandel On Fri, Jan 2, 2009 at 8:40 AM, rakesh wagh <[email protected]> wrote: > > some quick tips: > 1. Hardware: U need to increase your CPU power over memory. Adding > gigs of ram is not going to help much. Instead use dual/quad > processors with higher configurations. Also use a faster HD and a > higher FSB(try to match with your RAM speed). > 2. Compile for one browser using user-agent mentioned earlier. > 3. Code design! This is the biggest area where you can speed things > up. Use lazy initialization in every possible class. There are many > threads that explain this concept. I will give you a quick example: > > public class MyPopup extends DialogPanel{ > > public DialogPanel(){ > ... > } > private void initialized = false; > private void init(){ > setWidget(createWidget()); > } > @Override > public void show(){ > if (!initialized){ > init(); > initialized = true; > } > } > } > > > > > With the current GWT toolkit #3 is your key to significantly reduce > the load time. It also makes your application design better. > > Rakesh Wagh > > > On Nov 7 2008, 5:06 pm, surfer <[email protected]> wrote: > > since often the main development of an application is viewed and > > debugged with one single type of browser and only sometimes verified > > on the others, does anybody know if it's possible to force GWT > > compiler to build javascript code for just one single target browser, > > in order to increase compiling phase performance ? > > > > thanx > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
