Bug 47447

Summary: The layout timer throttles HTML animation performance
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: hyatt, jamesr, mitz, peter, sam, simon.fraser, slightlyoff, tonyg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://themaninblue.com/experiment/AnimationBenchmark/html/

Simon Fraser (smfr)
Reported 2010-10-08 20:29:00 PDT
Some analysis of this benchmark <http://themaninblue.com/experiment/AnimationBenchmark/html/> shows that the FPS meter on the page does not reflect the reality of how rapidly the view is updated. After some poking around, it turns out that the layout timer is throttling the layout rate. The WebView draws at only about half the framerate that the test reports. This causes this animation to be noticeably chunkier than the canvas version of the same test. CSS animations may get throttled in the same way.
Attachments
Note You need to log in before you can comment on or make changes to this bug.