[Webkit-unassigned] [Bug 6998] setTimeout(0) tight loop uses almost all CPU (need 10ms minimum for timeout?)

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Feb 1 10:43:08 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6998





------- Comment #7 from ap at nypop.com  2006-02-01 10:43 -------
Created an attachment (id=6194)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=6194&action=view)
count the number of ticks in 1 second

Indeed, Firefox and Opera both limit their timers to 10ms, even on the Mac.

For 10ms timers, Safari seems to take slightly more CPU time than Firefox, but
less than Opera (respectively 3.7%, 3.1%, 6.5% on my dual G4, as observed with
top).

Given the workaround of explicitly using a 10ms timeout, should this issue be
removed from the list of Backbase blockers?


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list