Closed Bug 972482 Opened 11 years ago Closed 9 years ago

High energy consumption in SVG animation (with animateTransform)

Categories

(Core :: SVG, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 972473

People

(Reporter: rvitillo, Unassigned)

References

Details

(Keywords: power, Whiteboard: [Power:P3])

Attachments

(1 file)

Attached file Testcase 1 (deleted) —
Nightly consumes about 21% of CPU when animating the spinning wheel while Chrome only about 12% on my machine. See also bug 972473.
This is isolating between an active/inactive layer so that's probably hurting things.
Summary: High energy consumption in SVG animation → High energy consumption in SVG animation (with animateTransform)
Odd, same build I don't see the active/inactive behavior.
Whiteboard: [Power]
Measuring on Mac. Nightly: > total W = _pkg_ (cores + _gpu_ + other) + _ram_ W > #01 13.78 W = 10.61 ( 0.70 + 3.30 + 6.61) + 3.17 W > > 1 sample taken over a period of 30.000 seconds > > Name ID CPU ms/s User% Deadlines (<2 ms, 2-5 ms) Wakeups (Intr, Pkg idle) GPU ms/s > com.apple.Terminal 109 244.79 76.34 58.11 120.36 > firefox 16113 117.65 68.14 0.00 0.00 66.44 51.78 120.36 > plugin-container 16115 124.49 80.00 4.20 1.80 9.50 6.00 0.00 > Terminal 208 4.74 90.54 0.00 0.00 0.33 0.30 0.00 Safari: > total W = _pkg_ (cores + _gpu_ + other) + _ram_ W > #01 6.82 W = 4.91 ( 0.24 + 0.33 + 4.34) + 1.90 W > > 1 sample taken over a period of 30.000 seconds > > Name ID CPU ms/s User% Deadlines (<2 ms, 2-5 ms) Wakeups (Intr, Pkg idle) GPU ms/s > com.apple.Safari 393 48.85 41.12 35.19 0.95 > com.apple.WebKit.WebContent 16201 43.12 72.84 0.00 0.00 37.32 32.42 0.95 > Safari 16198 6.65 55.78 0.00 0.00 1.33 0.93 0.00 > com.apple.WebKit.WebContent 16202 1.51 64.54 0.00 0.00 1.77 1.33 0.00 > com.apple.WebKit.Networking 16200 0.12 34.46 0.00 0.00 0.67 0.50 0.00 Chrome: > total W = _pkg_ (cores + _gpu_ + other) + _ram_ W > #01 12.73 W = 9.78 ( 0.91 + 2.66 + 6.21) + 2.95 W > > 1 sample taken over a period of 30.000 seconds > > Name ID CPU ms/s User% Deadlines (<2 ms, 2-5 ms) Wakeups (Intr, Pkg idle) GPU ms/s > com.google.Chrome 394 504.37 350.27 253.84 103.96 > Google Chrome Helper 16234 184.60 68.80 0.00 0.00 168.28 130.63 103.96 > Google Chrome Helper 16239 178.35 74.99 0.00 0.00 90.07 57.05 0.00 > Google Chrome 16230 144.05 69.49 3.33 0.20 91.94 66.18 0.00 The Chrome stats generally look a lot worse than Nightly, but its power usage is still a little lower, which is surprising.
Power:P3 because bbirtles says that SVG animations aren't that important.
Whiteboard: [Power] → [Power:P3]
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: