[webkit-dev] setTimeout as browser speed throttle

Peter Kasting pkasting at chromium.org
Tue Sep 30 10:47:40 PDT 2008

2008/9/30 Alexey Proskuryakov <ap at webkit.org>

> Sep 30, 2008, в 9:12 PM, Mike Belshe написал(а):
> > As for keeping the fan off - if we could keep the CPU idle a 3ms
> > minimum timeout loop does that resolve your concern?
> Maybe, partially. As mentioned in bug 6998, even 10 ms timers incur
> non-trivial processor usage.

Your comment in that bug was that it was 3.7% of CPU on your machine.  3.7%
for "as fast as possible" doesn't seem like a huge burden.  That suggests
authors could write tight loops at 3ms delays and still only burn 10% of the
CPU.  I think that's a reasonable proposal.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080930/1c309646/attachment.html 

More information about the webkit-dev mailing list