Your suggestions are very useful, thank you very much!

I have disabled all BHOs and ActiveXs in my IE7, but the performance
is stile very poor. :(


On 2月4日, 下午10时44分, Jason Essington <[email protected]> wrote:
> Well, there are a couple of things to consider ... besides the  
> possibility of BHOs mucking up the works in your particular install of  
> IE.
>
> 1) Creating a large number of objects can certainly be slow if done in  
> a tight loop. (for instance populating a very large grid with  
> widgets). if you are doing this, some of the performance problems  
> could be mitigated by using incrementalCommand, or simply only render  
> the visible parts. Smaller numbers of objects render just fine.
> In some cases, it is faster to create HTML (maybe on the server even)  
> and just setInnerHTML() than it is to try to create the same thing  
> with a large number of widgets.
>
> 2) Internet Explorer has the slowest javascript engine in existence,  
> so don't be particularly surprised if code runs noticeably slower  
> there than on FF, Safari, or Chrome.
>
> -jason
>
> On Feb 4, 2009, at 6:26 AM, kernel wrote:
>
>
>
> > Perhaps I didn't describe the problem clearly.
>
> > I want to say that the same code will run 4000ms in my IE7 on Windows
> > XP SP3. But in IE6 it needs only 20ms. I know that FF3 and Chrome are
> > much faster than IE, but is IE6 much faster than IE7?
>
> > By the way, I have tested the code in IE7 in Vista just now. It needs
> > only 20ms too.
>
> > I guess that the problem is caused by some software installed in my
> > system, but I can't find it.
>
> > Isn't any one else have this problem?
>
> > On 2月4日, 下午8时27分, "alex.d" <[email protected]>  
> > wrote:
> >> You are asking: why can't i go from 0 to 100km/h in 3s with my 10-
> >> years old Ford escort like i do with my Lamborghini gallardo? :))) I
> >> seriously doubt that IE6 can show perfomance similar to that of  
> >> Chrome
> >> or FF3.
>
> >> What you can do is optimize your code - like creating elements on
> >> demand etc. Or forbid using "bad" browsers. But there is no real
> >> solution to this problem.
>
> >> On 4 Feb., 12:27, kernel <[email protected]> wrote:
>
> >>> I'm using the GWT 1.5.3
>
> >>> On 2月4日, 下午7时26分, kernel <[email protected]> wrote:
>
> >>>> I build a very simple application using GWT, but it is to slow on  
> >>>> some
> >>>> browers. I have make many test, at last I found that the reason. In
> >>>> some brower, the creation of an Element is very very slow, but on  
> >>>> some
> >>>> other bowers  it's very fast.
>
> >>>> For example, when I I'm using IE7 on Windows XP Pro SP3, the  
> >>>> following
> >>>> code will run about 4000ms.
>
> >>>> for (int i = 0; i < 2000; i++)
> >>>> {
> >>>>      Document.get().createDivElement();
>
> >>>> }
>
> >>>> But when I use FireFox 3, Chrome or just some IE6 on Windows XP,  
> >>>> the
> >>>> code will run just about 20ms.
>
> >>>> How can I solve the problem?
>
>
--~--~---------~--~----~------------~-------~--~----~
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