kernel schrieb:

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

Find out if the browser is simply not capable of doing this faster
by implementing an plain HTML-page containing Javascript-code doing
above. If the time to execute that is the same as with GWT, there
will be no solution, except changing the browser, think about simply
avoiding the creation of parts that aren't used, etc.


Regards, Lothar

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