Hello, I recently got profiling running with GWT to debug a menu
latency issue I have been running into in hosted moded.

I believe I have tracked down the source of the issue, but I can not
quite figure out the reason.

I have modified the code such that when a menu popup is about to
occur, I have it execute a native method which includes...

$doc.documentElement.clientLeft;

In fact the first time (after the event) this gets executed it takes
quite a bit of time.  If I jump from menu item to menu item to cause
this to keep getting executed consecutively in a row it is quite
noticeable in the responsiveness of the system.  Subsequent calls for
the same event do not show as big of a latency.

If I replace the $doc.documentElement.clientLeft with something
trivial the method does not take nearly as long.

My question is, why would accessing clientLeft for the first time when
an event occurs take so long?

I am using GWT 1.5.3 on a windows XP system.

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