Bug 47447
| Summary: | The layout timer throttles HTML animation performance | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Layout and Rendering | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |