Something else I've just noticed - if you have an AV product installed then check its activity when refreshing your GWT app in OOPHM. I have Kaspersky Internet Security installed and it was taking a load of CPU and its memory usage shot up to 300mb during app refreshes. Once I had configured it to completely ignore my developer instance of FireFox, my app refreshes dropped from 16 seconds to 9.
On Dec 12, 5:43 pm, Chris Lowe <chris.lowe...@gmail.com> wrote: > Actually, for now, the FireFox plugin seems to be *much* quicker that > Chrome's. > > On Dec 12, 3:20 pm, Chris Lowe <chris.lowe...@gmail.com> wrote: > > > > > Hi guys, > > > I too have been stung by these performance issues and, although things > > are not yet as good as they can be, I found the following helpful: > > > Make sure localhost is defined in your /etc/hosts file. More info > > here: > > >http://groups.google.com/group/google-web-toolkit-contributors/browse... > > > I'm actually on Windows 7 and it turns out that the default behaviour > > now is to leave the definition of localhost to DNS. For me, adding an > > explicit definition of localhost to C:\Windows\System32\drivers\etc > > \hosts improved things (at least I think so - or maybe it's my > > perception?!). > > > Also, if you're using Chrome then the dev channel has recently been > > updated to version 4.0.266.0 (check this via "About Google Chrome" on > > the tools menu). Upgrading to the latest version also made a positive > > difference. > > > Finally, you may be able to change your app to help performance. > > Obviously this will not be a realistic option for many, but I found > > that the CPU cycles are burned processing my app code, albeit rather > > inefficiently at this stage. Nonetheless, the slow performance is a > > massive exaggeration of my app performance. A quick scout through my > > code revealed several opportunities for introducing lazy > > initialisation and eliminating some third party libraries, so making > > some changes to my app also made a big difference to the speed of > > development. > > > As I said, still not ideal, but I hope these issues will be resolved > > soon. > > > Cheers, > > > Chris. > > > On Dec 7, 12:29 am, keyvez <key...@gmail.com> wrote: > > > > Hi, > > > > I am experiencing really slow times (30-40 seconds) when I refresh the > > > page on safari or firefox. It almost seems to recompile the full app > > > every single time I hit refresh. I don't even change anything, and > > > this the app you get when you create new Web App in eclipse. Meanwhile > > > the browser hangs like it's supposed to when making a synchronous > > > server request. > > > > Specs: Eclipse 3.5, Mac OS 10.6, Java 6 64-bit (tried with 32-bit 5 > > > and 6), GWT 2.0 RC2 and GPE 1.2 RC2 (tried RC1 for both of those too. > > > > And running it with the -Dgwt=perflog=true VM argument I receive this: > > > > perf? OophmSessionHandler?.loadModule Main 838ms > > > > perf? ModuleDef?.refresh 35ms > > > perf? ResourceOracleImpl?.refresh 1ms > > > perf? ResourceOracleImpl?.refresh 23ms > > > perf? ResourceOracleImpl?.refresh 9ms > > > perf? TypeOracleMediator?.addNewUnits 165ms > > > perf? ModuleSpace?.onLoad 511ms > > > perf? Generator 'com.google.gwt.uibinder.rebind.UiBinderGenerator?' > > > produced 'com.company.mypackage.web.client.Application.Binder' 21ms > > > perf? TypeOracleMediator?.addNewUnits 0ms > > > perf? Generator > > > 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator?' > > > produced > > > 'com.company.mypackage.web.client.Application_BinderImpl_GenBundle?' > > > 4ms > > > perf? TypeOracleMediator?.addNewUnits 0ms > > > perf? Generator 'com.google.gwt.i18n.rebind.LocaleInfoGenerator?' > > > produced 'com.google.gwt.i18n.client.impl.LocaleInfoImpl?' 14ms > > > perf? TypeOracleMediator?.addNewUnits 0ms > > > perf? Generator 'com.google.gwt.i18n.rebind.LocalizableGenerator?' > > > produced 'com.google.gwt.i18n.client.impl.CldrImpl?' 0ms > > > > Which doesn't tell me where the 30-40 seconds are being spent. > > > > Any help would be greatly appreciated. > > > > Thanks, > > > Gaurav > > > > On Nov 8, 1:31 pm, lowecg2004 <chris.lowe...@gmail.com> wrote: > > > > > Hi Andrey, > > > > > The initial load can be fairlyslowbut after the first load, are you > > > > using the hosted browser's refresh button? This will make subsequent > > > > loads much quicker. > > > > > Cheers, > > > > > Chris. > > > > > On Nov 8, 8:21 am, Andrey <mino...@gmail.com> wrote: > > > > > > Hello! > > > > > > WhyOOPHM(and in before hosted mode) is soslow? > > > > > My application takes about 30-40 sec to start inOOPHM. > > > > > > I am using GXT. System is: Intel Core 2 Duo 2.4 GHz, 4 Gb RAM. > > > > > I've reduced number of remote services from 20 to 3, but it didn't > > > > > help a lot. > > > > > > What takes so much time? > > > > > > Am I right that is verification of the code to conform GWT's Java > > > > > language subset? > > > > > So, why not make a checkbox "don't verify code" to give an opportunity > > > > > to run code fast and check it only periodically, say once a day. > > > > > > Thanks in advance! > > > > > > Andrey -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.