On 22 oct, 12:52, ben fenster <[email protected]> wrote:
> i was wondering how many timers can operate together and how would a
> collisution between them effect performence

I don't think browsers set a limit, and they won't affect performance
AFAICT (unless you have really many many of them, of course)

> is it better to use one timer with a list of stuff that need to be
> updated on timeout or is it better to make a timer for each ????

I don't think one way or the other is better (performance wise).

> another thing is if i use iframe to display other sites and those
> sites has timers do they also run on my main thread and disturb my
> timers and my my main gwt app performence???

Yes, timers from iframes run in the same event loop.

As you talk about "my main gwt app performance", keep in mind that
timers in JavaScript are intrinsically *not* accurate. See
http://ejohn.org/blog/how-javascript-timers-work/
--~--~---------~--~----~------------~-------~--~----~
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