-
commit-queue@webkit.org authored
Reviewed by Simon Fraser. Reduce minimum DOMTimer interval https://bugs.webkit.org/show_bug.cgi?id=45362 Reduced the minimum allowed DOMTimer interval to 4ms. This has us matching Chrome, which hasn't had any problem with 4ms in the past 2 years, as well as increasing our performance on perf tests that have tight frequent loops such as canvas "animation" performance tests. No new tests added. Can't reliably instrument a test in javascript to verify that the minimum clamped interval time is in fact 4ms. * WebCore.exp.in: * page/DOMTimer.cpp: Removed old comments. * page/DOMTimer.h: Removed old comments. * page/Settings.cpp: Exposted new method to set minimum DOMTimer interval. * page/Settings.h: 2010-09-17 Matthew Delaney <mdelaney@apple.com> Reviewed by Simon Fraser. Reduce minimum DOMTimer interval https://bugs.webkit.org/show_bug.cgi?id=45362 * WebView/WebView.mm: Added in a call to set the mimimum allowed DOMTimer to 4ms. 2010-09-17 Matthew Delaney <mdelaney@apple.com> Reviewed by Simon Fraser. Reduce minimum DOMTimer interval https://bugs.webkit.org/show_bug.cgi?id=45362 * WebView.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms. 2010-09-17 Matthew Delaney <mdelaney@apple.com> Reviewed by Simon Fraser. Reduce minimum DOMTimer interval https://bugs.webkit.org/show_bug.cgi?id=45362 * WebProcess/WebPage/WebPage.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
757218a5