I have a complex web application that I have to get running under IE8 (no 
choice on this). I've been dogged by performance issues for weeks. The 
application runs really slow. I get the annoying "Do you want to stop 
running this script?" warnings. We've been optimizing for weeks and made 
some progress getting it to run faster with fewer script warnings, but 
still not quite there.

Then, I noticed that the application performs great when I'm hitting 
gwt.codesvr. The application runs quickly. I get no script warnings. This 
is counter-intuitive, because I've found that applications perform worse in 
dev mode than with compiled mode.

I couldn't figure why. So, I went to a colleague and he suggested looking 
at the compiler settings. I found that we had them set like this:

      <set-property name="compiler.stackMode" value="emulated" />
      <set-configuration-property name=
"compiler.emulatedStack.recordLineNumbers" value="true" />
      <set-configuration-property name=
"compiler.emulatedStack.recordFileNames" value="true" />


I set recordLineNumbers and recordFileNames to false. Instantly, the 
application performed much better in compiled mode. The speed was now 
comparable to what I was seeing with dev mode. I did some more research on 
the forums and found that running stackMode as emulated impacts performance 
as well. So, now I have them set like this:

    <set-property name="compiler.stackMode" value="strip" />
      <set-configuration-property name=
"compiler.emulatedStack.recordLineNumbers" value="false" />
      <set-configuration-property name=
"compiler.emulatedStack.recordFileNames" value="false" />

This helped performance a little. Not as dramatic as changing the other 
settings to false, but there was some improvement.

Here's my problem. I'm still getting the "Do you want to stop running this 
script?" warnings in compiled mode where I don't get them in dev mode. Is 
there something else I can try to get compiled mode to perform like dev 
mod? Is there a compiler setting (or some other setting) I can look at that 
could help? What compiler settings are being used in the code server? Is 
there anyway I can see how they're set? Any other suggestions?

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to