Hi,

I finally got a chance to come back and try this improvement. I used:
<inherits name='com.google.gwt.user.User'/>
  <inherits name='com.google.gwt.user.UserAgent'/>
  <set-property name='user.agent' value='ie6'/>
and
-client -Xms512m -Xmx512m -Xss128k -Xverify:none -XX:PermSize=32m -
XX:MaxPermSize=32m -XX:AllocatePrefetchLines=4 -
Djava.awt.headless=true

and speed things up significantly. Thanks a lot.

Viet Pham


On Wed, Feb 4, 2009 at 2:43 AM, lowecg2004 <[email protected]> wrote:

>
> I got an extra 10% speed boost by adjusting my Sun JDK 6.0 JVM
> settings:
>
> -client -Xms512m -Xmx512m -Xss128k -Xverify:none -XX:PermSize=32m -
> XX:MaxPermSize=32m -XX:AllocatePrefetchLines=4 -
> Djava.awt.headless=true
>
> For a single browser config the CLIENT VM is working better for me. A
> single permutation doesn't seem enough to let the server VM perform
> its optimisations.  However, for my production builds for all browsers/
> locales then server mode is king.
>
> On Feb 4, 4:41 am, Pham Tran Quoc Viet <[email protected]>
> wrote:
> > Hi,What is the value for Chrome browser? I tried this, but it crashed.
> > Thanks.
> >
> > <inherits name='com.google.gwt.user.User'/>
> >       <inherits name='com.google.gwt.user.UserAgent'/>
> >   <set-property name='user.agent' value='chrome'/>
> >
> > Here is the crash:
> > [ERROR] Unable to get value of property 'user.agent'
> > com.google.gwt.core.ext.BadPropertyValueException: Property 'user.agent'
> > cannot be set to unexpected value 'chrome'
> > at
> >
> com.google.gwt.dev.shell.ModuleSpacePropertyOracle.computePropertyValue(Mod
> uleSpacePropertyOracle.java:114)
> > at
> >
> com.google.gwt.dev.shell.ModuleSpacePropertyOracle.getPropertyValue(ModuleS
> pacePropertyOracle.java:59)
> > at
> >
> com.google.gwt.dev.cfg.ConditionWhenPropertyIs.doEval(ConditionWhenProperty
> Is.java:48)
> > at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:36)
> > at com.google.gwt.dev.cfg.ConditionAll.doEval(ConditionAll.java:37)
> > at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:36)
> > at com.google.gwt.dev.cfg.Rule.isApplicable(Rule.java:35)
> > at
> >
> com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRe
> bindOracle.java:106)
> > at
> >
> com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebin
> dOracle.java:61)
> > at
> >
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j
> ava:166)
> > at
> >
> com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.j
> ava:114)
> >
> > Viet Pham
> >
> > On Sun, Feb 1, 2009 at 9:48 AM, Niklas Derouche <[email protected]>
> wrote:
> > > Well, for me it only generates the IE version and the time is down to
> about
> > > 40 percent.
> > > clean out the www folder before the compile perhaps?
> >
> > > n.
> >
> > > On Sun, Feb 1, 2009 at 6:35 PM, Pham Tran Quoc Viet <
> > > [email protected]> wrote:
> >
> > >> Hi,Great. That went through without error. How do you verify if only
> ie6
> > >> version is created? I looked at the www folder and saw a bunch of html
> files
> > >> whose names are some_random_number.html
> >
> > >> The time it took to compile did not seem to improve either. Thanks.
> >
> > >> Viet Pham
> >
> > >> On Sun, Feb 1, 2009 at 9:22 AM, Niklas Derouche <[email protected]>
> wrote:
> >
> > >>> Hi,
> > >>> try:
> >
> > >>> <inherits name='com.google.gwt.user.User'/>
> > >>> <inherits name='com.google.gwt.user.UserAgent'/>
> > >>> <set-property name='user.agent' value='ie6'/>
> >
> > >>> if you see what I mean.
> >
> > >>> n.
> >
> > >>> On Sat, Jan 31, 2009 at 2:58 AM, Pham Tran Quoc Viet <
> > >>> [email protected]> wrote:
> >
> > >>>> Hi,
> > >>>> I followed the advise in this thread and added the following to my
> > >>>> module.gwt.xml:
> > >>>> <module>
> > >>>>   <set-property name="user.agent" value="ie6" />
> > >>>>   <extend-property name="locale" values="en_US" />
> >
> > >>>>       <!-- Inherit required packages -->
> > >>>>       ...
> > >>>>       <!-- Style sheets -->
> > >>>>       ...
> > >>>>       <!-- Entry point -->
> > >>>>       ...
> > >>>> </module>
> >
> > >>>> I got this error:
> > >>>> [ERROR] Property 'user.agent' not found
> > >>>> [ERROR] Failure while parsing XML
> >
> > >>>> Any ideas? Thanks.
> > >>>> Viet Pham
> >
> > >>>> On Sun, Nov 9, 2008 at 12:10 AM, surfer <[email protected]
> >wrote:
> >
> > >>>>> many many thanks
> > >>>>> using <set-property name="user.agent" value="gecko" />
> > >>>>> the time of compilation fell down from 3':10" to 1':37"
> >
> > >>>>> Lorenzo
> >
> > >>>>> On 8 Nov, 02:13, "Ian Petersen" <[email protected]> wrote:
> > >>>>> > On Fri, Nov 7, 2008 at 6: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 ?
> >
> > >>>>> > Yes it's possible.  The answer lies behind this link:
> > >>>>>
> http://groups.google.com/group/Google-Web-Toolkit/search?group=Google.
> > >>>>> ..
> >
> > >>>>> > Ian
> >
> > >>> --
> > >>> -------------------------------------------------------
> > >>> Ave bossa nova, similis bossa seneca
> >
> > > --
> > > -------------------------------------------------------
> > > Ave bossa nova, similis bossa seneca
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to