On Monday, April 18, 2011 1:49:49 PM UTC+2, maticpetek wrote: > > Hello, > We are developing our app in GWT now for a couple of years. And code > base is becoming bigger every day.... And hosted mode is also become very > slow. Refresh in browser takes around 1 minute. Forms opening a couple of > seconds. All this time my CPU is on around 160% (if I look Activity > monitor). This happend in FF. Chrome is not useful because it takes too much > time (I gave up after 10 minutes). > Any idea how could we speed up hosted mode? >
Always use the latest GWT version: http://twitter.com/salvadordiaz/status/55177780895293440 (unless it adds many new features that you don't need; see below about classpath/sourcepath) GWT 2.4 (won't be in 2.3 AFAIK) will add an (optional) cache that will speed things up even more (I haven't tried it yet though) so try running from trunk if you can: http://code.google.com/p/google-web-toolkit/source/detail?r=9893 Would code split with GWT.runAsync do any help? > GWT.runAsync actually runs synchronously in DevMode, so it won't help. > Or on the end you just must have very fast CPU? Thank you for help. > I believe memory and a fast disk are more important than a fast CPU. Trimming down your classpath and your "source path" (paths listed as <source> or <super-source> in your *.gwt.xml files) should help. > My environment : > - OS X Show Leopard > - JDK 1.6 > - GWT 2.2 > - GXT 2.2.3 > - Firefox 3.6 > Remove GXT from the equation! (half-kidding only) > -- 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.
