[Webkit-unassigned] [Bug 219751] New: Efficient low frequency animations
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 10 11:44:26 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=219751
Bug ID: 219751
Summary: Efficient low frequency animations
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Animations
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jaffathecake at gmail.com
CC: dino at apple.com
I did some research on how efficient browsers are at animations where not-a-lot happens.
https://static-misc-2.glitch.me/low-freq-anims/
I played with the above while monitoring the task manager.
The "High frequency animation" shows how much CPU is used on a 60hz (or whatever display frequency) animation.
"setTimeout" shows how much CPU is used for a setTimeout-driven animation that updates every 5 seconds. This uses almost no CPU.
The rest are CSS/web animations that update infrequently.
I'm _really_ impressed with how Safari handles these cases, but there are some opportunities for optimisation.
In the following tests:
- Discrete values
- Mostly same values
- Empty animation
…Safari seems to use more CPU than necessary, as if it's running a 60hz timer internally.
Related Chrome issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1157483
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201210/c13635cf/attachment-0001.htm>
More information about the webkit-unassigned
mailing list