Re: GWT Performace Tips

2011-02-12 Thread Flemming Boller
1) Instead of the Vertifal/HorizontalPanels use UIBinder instead. We almost
never use those panels
but use uibinder and normal html instead.

2) Could you tell a little bit about how you found your performance
problems?



/Flemming

On Sat, Feb 12, 2011 at 4:01 AM, tjmcc18 tjmc...@gmail.com wrote:

 Thanks everyone for the tips.  I have found the source of some of my
 current problems.  One issue is that we were passing around a very
 large and complex object in some of our RPC calls.  I have heard that
 serialization can be slow in IE, and I believe that is the case for
 me.  I redesigned the calls to no longer pass the object and it sped
 things up dramatically.

 There are still a few slow spots.  We construct several complex panels
 with many tables and rows of data in them.  We are mostly using
 VerticalPanels and HorizontalPanels to create these panels.  It seems
 like the initial creation of these panesl are slow in IE.  Any
 thoughts on how to speed that up?

 -TJ

 On Feb 11, 3:47 am, Thomas Broyer t.bro...@gmail.com wrote:
  On Thursday, February 10, 2011 7:20:40 PM UTC+1, Jim Douglas wrote:
 
   Have you profiled your application in Chrome using Speed Tracer?
 
  Also try DynaTrace in IE:  http://ajax.dynatrace.com

 --
 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-toolkit@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.



-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-12 Thread tjmcc18
So to sum it up, for better performance in IE:

- Use uibinder when possible instead of constructing the layout manually
- Use div based widgets instead of VerticalPanel and HorizontalPanel

Does that sound about right?  I'll give those a try and see if it speeds 
things up.  We use a lot of VerticalPanels and HorizontalPanels right now. 
 Any other tips?

-TJ

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-11 Thread Thomas Broyer


On Thursday, February 10, 2011 7:20:40 PM UTC+1, Jim Douglas wrote:

 Have you profiled your application in Chrome using Speed Tracer?


Also try DynaTrace in IE:  http://ajax.dynatrace.com

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-11 Thread tjmcc18
Thanks everyone for the tips.  I have found the source of some of my
current problems.  One issue is that we were passing around a very
large and complex object in some of our RPC calls.  I have heard that
serialization can be slow in IE, and I believe that is the case for
me.  I redesigned the calls to no longer pass the object and it sped
things up dramatically.

There are still a few slow spots.  We construct several complex panels
with many tables and rows of data in them.  We are mostly using
VerticalPanels and HorizontalPanels to create these panels.  It seems
like the initial creation of these panesl are slow in IE.  Any
thoughts on how to speed that up?

-TJ

On Feb 11, 3:47 am, Thomas Broyer t.bro...@gmail.com wrote:
 On Thursday, February 10, 2011 7:20:40 PM UTC+1, Jim Douglas wrote:

  Have you profiled your application in Chrome using Speed Tracer?

 Also try DynaTrace in IE:  http://ajax.dynatrace.com

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-11 Thread Colin Alworth
In the past, I have used DynaTrace Ajax 
Editionhttp://ajax.dynatrace.com/ajax/en/Default.aspx, 
a free IE profiling tool. It has the downside from hitting you with massive 
information overload, but I have been able to use it to find array copying 
and dom manipulation which, when modified, was enough to give IE the 
performance boost we needed.

-Colin

-- 
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-toolkit@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.



GWT Performace Tips

2011-02-10 Thread tjmcc18
I am working on a GWT application and over time it has become
extremely slow while running in IE7.  It still runs very fast in
Firefox3 however.  This leads me to believe there must be some GWT
specific programming techniques that while acceptable when running in
Firefox, cause IE to run very slow.

I know there are various debuggers and things I can use to attempt to
find the cause, but has anyone run into this issue where IE is slow
and FF is fast?  Have you found any techniques which enabled you to
speed up IE?

Thanks,

TJ

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread Jeff Schwartz
Is the problem in dev or production?
On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote:
 I am working on a GWT application and over time it has become
 extremely slow while running in IE7. It still runs very fast in
 Firefox3 however. This leads me to believe there must be some GWT
 specific programming techniques that while acceptable when running in
 Firefox, cause IE to run very slow.

 I know there are various debuggers and things I can use to attempt to
 find the cause, but has anyone run into this issue where IE is slow
 and FF is fast? Have you found any techniques which enabled you to
 speed up IE?

 Thanks,

 TJ

 --
 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-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
.
 For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread tjmcc18
The problem is in production mode when running the compiled
javascript.

On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote:
 Is the problem in dev or production?
 On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote:







  I am working on a GWT application and over time it has become
  extremely slow while running in IE7. It still runs very fast in
  Firefox3 however. This leads me to believe there must be some GWT
  specific programming techniques that while acceptable when running in
  Firefox, cause IE to run very slow.

  I know there are various debuggers and things I can use to attempt to
  find the cause, but has anyone run into this issue where IE is slow
  and FF is fast? Have you found any techniques which enabled you to
  speed up IE?

  Thanks,

  TJ

  --
  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-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to

 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
 cr...@googlegroups.com
 . For more options, visit this group at

 http://groups.google.com/group/google-web-toolkit?hl=en.









-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread Jim Douglas
If you have any influence over the choice of browser, IE7 should no
longer be used.

But the basic problem is simply the quality of the JavaScript engines
in the various browsers.  To see this, go to this page in IE7, IE8,
Chrome, and Firefox and compare the results:

http://webkit.org/perf/sunspider/sunspider.html
http://webkit.org/perf/sunspider-0.9.1/sunspider-0.9.1/driver.html

If your application runs a lot of client-side (JavaScript) code, then
the performance on any given browser will be a factor of the speed of
that browser's JavaScript engine.  In my most recent testing on
Windows XP, that boils down to:

Assign a relative speed of 1X to Chrome and Opera; they are
comparable.
Firefox 3.6.13 is about 3X.
IE8 is about 21X.

On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote:
 The problem is in production mode when running the compiled
 javascript.

 On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote:



  Is the problem in dev or production?
  On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote:

   I am working on a GWT application and over time it has become
   extremely slow while running in IE7. It still runs very fast in
   Firefox3 however. This leads me to believe there must be some GWT
   specific programming techniques that while acceptable when running in
   Firefox, cause IE to run very slow.

   I know there are various debuggers and things I can use to attempt to
   find the cause, but has anyone run into this issue where IE is slow
   and FF is fast? Have you found any techniques which enabled you to
   speed up IE?

   Thanks,

   TJ

   --
   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-toolkit@googlegroups.com.
   To unsubscribe from this group, send email to

  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  . For more options, visit this group at

 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread tjmcc18
Thank you very much for the information.  I have no doubt that the
quality of the javascript engine plays a large role.  In my case, I am
using GWT so I have a very limited control over the javascript that is
created.  I know the performance of IE may never match Firefox, but is
there any way to improve it?

-TJ

On Feb 10, 12:48 pm, Jim Douglas jdou...@basis.com wrote:
 If you have any influence over the choice of browser, IE7 should no
 longer be used.

 But the basic problem is simply the quality of the JavaScript engines
 in the various browsers.  To see this, go to this page in IE7, IE8,
 Chrome, and Firefox and compare the results:

 http://webkit.org/perf/sunspider/sunspider.htmlhttp://webkit.org/perf/sunspider-0.9.1/sunspider-0.9.1/driver.html

 If your application runs a lot of client-side (JavaScript) code, then
 the performance on any given browser will be a factor of the speed of
 that browser's JavaScript engine.  In my most recent testing on
 Windows XP, that boils down to:

 Assign a relative speed of 1X to Chrome and Opera; they are
 comparable.
 Firefox 3.6.13 is about 3X.
 IE8 is about 21X.

 On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote:







  The problem is in production mode when running the compiled
  javascript.

  On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote:

   Is the problem in dev or production?
   On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote:

I am working on a GWT application and over time it has become
extremely slow while running in IE7. It still runs very fast in
Firefox3 however. This leads me to believe there must be some GWT
specific programming techniques that while acceptable when running in
Firefox, cause IE to run very slow.

I know there are various debuggers and things I can use to attempt to
find the cause, but has anyone run into this issue where IE is slow
and FF is fast? Have you found any techniques which enabled you to
speed up IE?

Thanks,

TJ

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to

   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
cr...@googlegroups.com
   . For more options, visit this group at

  http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread Jim Douglas
To answer the original question:

 Have you found any techniques which enabled you to speed up IE?

The fastest possible code is the code that never gets executed.  The
only way to improve performance of your application in IE is to
identify any code that can be done on the server and move it there; do
as little work as possible in the horrifically slow IE JavaScript
engine.


On Feb 10, 9:33 am, tjmcc18 tjmc...@gmail.com wrote:
 I am working on a GWT application and over time it has become
 extremely slow while running in IE7.  It still runs very fast in
 Firefox3 however.  This leads me to believe there must be some GWT
 specific programming techniques that while acceptable when running in
 Firefox, cause IE to run very slow.

 I know there are various debuggers and things I can use to attempt to
 find the cause, but has anyone run into this issue where IE is slow
 and FF is fast?  Have you found any techniques which enabled you to
 speed up IE?

 Thanks,

 TJ

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread Jim Douglas
Have you profiled your application in Chrome using Speed Tracer?

http://code.google.com/webtoolkit/speedtracer/

Even if overall performance is acceptable in Chrome and Firefox, there
are bottlenecks in any application.  If you find and optimize those
bottlenecks in Speed Tracer, there's a good chance that you will be
able to improve performane in all browsers.

On Feb 10, 9:59 am, tjmcc18 tjmc...@gmail.com wrote:
 Thank you very much for the information.  I have no doubt that the
 quality of the javascript engine plays a large role.  In my case, I am
 using GWT so I have a very limited control over the javascript that is
 created.  I know the performance of IE may never match Firefox, but is
 there any way to improve it?

 -TJ

 On Feb 10, 12:48 pm, Jim Douglas jdou...@basis.com wrote:



  If you have any influence over the choice of browser, IE7 should no
  longer be used.

  But the basic problem is simply the quality of the JavaScript engines
  in the various browsers.  To see this, go to this page in IE7, IE8,
  Chrome, and Firefox and compare the results:

 http://webkit.org/perf/sunspider/sunspider.htmlhttp://webkit.org/perf...

  If your application runs a lot of client-side (JavaScript) code, then
  the performance on any given browser will be a factor of the speed of
  that browser's JavaScript engine.  In my most recent testing on
  Windows XP, that boils down to:

  Assign a relative speed of 1X to Chrome and Opera; they are
  comparable.
  Firefox 3.6.13 is about 3X.
  IE8 is about 21X.

  On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote:

   The problem is in production mode when running the compiled
   javascript.

   On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote:

Is the problem in dev or production?
On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote:

 I am working on a GWT application and over time it has become
 extremely slow while running in IE7. It still runs very fast in
 Firefox3 however. This leads me to believe there must be some GWT
 specific programming techniques that while acceptable when running in
 Firefox, cause IE to run very slow.

 I know there are various debuggers and things I can use to attempt to
 find the cause, but has anyone run into this issue where IE is slow
 and FF is fast? Have you found any techniques which enabled you to
 speed up IE?

 Thanks,

 TJ

 --
 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-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to

google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
 cr...@googlegroups.com
. For more options, visit this group at

   http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread tjmcc18
I have not tried speedtracer yet.  It is a good idea to improve
performance in Chrome and Firefox as much as possible, as that could
help in IE.  I will also review the amount of processing we are doing
on the client, since I agree that could speed things up.

Is IE pretty much a no go for GWT for anything more than the most
basic apps?

On Feb 10, 1:20 pm, Jim Douglas jdou...@basis.com wrote:
 Have you profiled your application in Chrome using Speed Tracer?

 http://code.google.com/webtoolkit/speedtracer/

 Even if overall performance is acceptable in Chrome and Firefox, there
 are bottlenecks in any application.  If you find and optimize those
 bottlenecks in Speed Tracer, there's a good chance that you will be
 able to improve performane in all browsers.

 On Feb 10, 9:59 am, tjmcc18 tjmc...@gmail.com wrote:







  Thank you very much for the information.  I have no doubt that the
  quality of the javascript engine plays a large role.  In my case, I am
  using GWT so I have a very limited control over the javascript that is
  created.  I know the performance of IE may never match Firefox, but is
  there any way to improve it?

  -TJ

  On Feb 10, 12:48 pm, Jim Douglas jdou...@basis.com wrote:

   If you have any influence over the choice of browser, IE7 should no
   longer be used.

   But the basic problem is simply the quality of the JavaScript engines
   in the various browsers.  To see this, go to this page in IE7, IE8,
   Chrome, and Firefox and compare the results:

  http://webkit.org/perf/sunspider/sunspider.htmlhttp://webkit.org/perf...

   If your application runs a lot of client-side (JavaScript) code, then
   the performance on any given browser will be a factor of the speed of
   that browser's JavaScript engine.  In my most recent testing on
   Windows XP, that boils down to:

   Assign a relative speed of 1X to Chrome and Opera; they are
   comparable.
   Firefox 3.6.13 is about 3X.
   IE8 is about 21X.

   On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote:

The problem is in production mode when running the compiled
javascript.

On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote:

 Is the problem in dev or production?
 On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote:

  I am working on a GWT application and over time it has become
  extremely slow while running in IE7. It still runs very fast in
  Firefox3 however. This leads me to believe there must be some GWT
  specific programming techniques that while acceptable when running 
  in
  Firefox, cause IE to run very slow.

  I know there are various debuggers and things I can use to attempt 
  to
  find the cause, but has anyone run into this issue where IE is slow
  and FF is fast? Have you found any techniques which enabled you to
  speed up IE?

  Thanks,

  TJ

  --
  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-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to

 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
  cr...@googlegroups.com
 . For more options, visit this group at

http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread Jim Douglas
Every developer has to weigh the tradeoffs and decide for himself or
herself how to deal with IE.  Given market realities, it can be
difficult to take a hard-line position of we don't support IE.  But
you can try to direct your users to use modern browsers (WebKit is
best, Firefox is a distant second, everything else is an also-ran).
If they still insist on IE, for whatever backward organizational
reasons, try to push them to use the Chrome Frame:

http://code.google.com/chrome/chromeframe/

On that subject, see what happens if you go here in IE:

http://wave.google.com

On Feb 10, 11:48 am, tjmcc18 tjmc...@gmail.com wrote:
 I have not tried speedtracer yet.  It is a good idea to improve
 performance in Chrome and Firefox as much as possible, as that could
 help in IE.  I will also review the amount of processing we are doing
 on the client, since I agree that could speed things up.

 Is IE pretty much a no go for GWT for anything more than the most
 basic apps?

 On Feb 10, 1:20 pm, Jim Douglas jdou...@basis.com wrote:



  Have you profiled your application in Chrome using Speed Tracer?

 http://code.google.com/webtoolkit/speedtracer/

  Even if overall performance is acceptable in Chrome and Firefox, there
  are bottlenecks in any application.  If you find and optimize those
  bottlenecks in Speed Tracer, there's a good chance that you will be
  able to improve performane in all browsers.

  On Feb 10, 9:59 am, tjmcc18 tjmc...@gmail.com wrote:

   Thank you very much for the information.  I have no doubt that the
   quality of the javascript engine plays a large role.  In my case, I am
   using GWT so I have a very limited control over the javascript that is
   created.  I know the performance of IE may never match Firefox, but is
   there any way to improve it?

   -TJ

   On Feb 10, 12:48 pm, Jim Douglas jdou...@basis.com wrote:

If you have any influence over the choice of browser, IE7 should no
longer be used.

But the basic problem is simply the quality of the JavaScript engines
in the various browsers.  To see this, go to this page in IE7, IE8,
Chrome, and Firefox and compare the results:

   http://webkit.org/perf/sunspider/sunspider.htmlhttp://webkit.org/perf...

If your application runs a lot of client-side (JavaScript) code, then
the performance on any given browser will be a factor of the speed of
that browser's JavaScript engine.  In my most recent testing on
Windows XP, that boils down to:

Assign a relative speed of 1X to Chrome and Opera; they are
comparable.
Firefox 3.6.13 is about 3X.
IE8 is about 21X.

On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote:

 The problem is in production mode when running the compiled
 javascript.

 On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote:

  Is the problem in dev or production?
  On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote:

   I am working on a GWT application and over time it has become
   extremely slow while running in IE7. It still runs very fast in
   Firefox3 however. This leads me to believe there must be some GWT
   specific programming techniques that while acceptable when 
   running in
   Firefox, cause IE to run very slow.

   I know there are various debuggers and things I can use to 
   attempt to
   find the cause, but has anyone run into this issue where IE is 
   slow
   and FF is fast? Have you found any techniques which enabled you to
   speed up IE?

   Thanks,

   TJ

   --
   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-toolkit@googlegroups.com.
   To unsubscribe from this group, send email to

  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
   cr...@googlegroups.com
  . For more options, visit this group at

 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread Pascal
One place where you might want to start looking is DOM manipulation.
IE is much slower at everything but the DOM can kill your app
performance quicker than anything else.

An example we ran into, creating a table dynamically. Anything that
tries to build and manipulate a table using the DOM (like FlexTable or
Grid) for a table that has more than 15-20 rows and around 10 columns
will take forever  in IE.

Pascal

On 10 fév, 12:33, tjmcc18 tjmc...@gmail.com wrote:
 I am working on a GWT application and over time it has become
 extremely slow while running in IE7.  It still runs very fast in
 Firefox3 however.  This leads me to believe there must be some GWT
 specific programming techniques that while acceptable when running in
 Firefox, cause IE to run very slow.

 I know there are various debuggers and things I can use to attempt to
 find the cause, but has anyone run into this issue where IE is slow
 and FF is fast?  Have you found any techniques which enabled you to
 speed up IE?

 Thanks,

 TJ

-- 
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-toolkit@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.



Re: GWT Performace Tips

2011-02-10 Thread Martin Gorostegui
Agree with Pascal.

TJ: Maybe you can tell us what your application consists of so that it gets
easier to identify and isolate a DOM manipulation performance problem (if
this is the case). Does it have some kind of table with lots of elements? or
maybe a listbox with lots of entries?

For those problems, probably creating content using innerHTML instead of
appending node elements to the DOM tree will improve your performance a lot
and make your application usable even in IE7. You may look at the latest
cell based widgets for more info:
http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#selection

Hope this helps,

Martin

On Thu, Feb 10, 2011 at 5:17 PM, Pascal zig...@gmail.com wrote:

 One place where you might want to start looking is DOM manipulation.
 IE is much slower at everything but the DOM can kill your app
 performance quicker than anything else.

 An example we ran into, creating a table dynamically. Anything that
 tries to build and manipulate a table using the DOM (like FlexTable or
 Grid) for a table that has more than 15-20 rows and around 10 columns
 will take forever  in IE.

 Pascal

 On 10 fév, 12:33, tjmcc18 tjmc...@gmail.com wrote:
  I am working on a GWT application and over time it has become
  extremely slow while running in IE7.  It still runs very fast in
  Firefox3 however.  This leads me to believe there must be some GWT
  specific programming techniques that while acceptable when running in
  Firefox, cause IE to run very slow.
 
  I know there are various debuggers and things I can use to attempt to
  find the cause, but has anyone run into this issue where IE is slow
  and FF is fast?  Have you found any techniques which enabled you to
  speed up IE?
 
  Thanks,
 
  TJ

 --
 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-toolkit@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.



-- 
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-toolkit@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.