Closed Bug 1525061 Opened 5 years ago Closed 2 years ago

CSS cursor animation dimming opacity causes 20% CPU utilisation with WebRender

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ato, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Visiting https://mystor.github.io/fission-news-1.html with WebRender
enabled in Firefox, causes it to use ~20% CPU.

I have not yet had time to investigate further.

This is caused by the opacity animation on the cursor.

Blocks: wr-perf, wr-mac
Priority: -- → P3

(Not a priority request!)

nika has since removed the animated cursor from the website. Could
you possibly provide us with the CSS that caused this?

Flags: needinfo?(nika)
Attached file CSS snippet

This is the css + HTML which caused it (pretty simple)

Flags: needinfo?(nika)
Attachment #9041505 - Attachment mime type: text/plain → text/html
Summary: https://mystor.github.io/fission-news-1.html causes 20% CPU utilisation with WebRender → CSS cursor animation dimming opacity causes 20% CPU utilisation with WebRender
Blocks: wr-frame-building-perf
No longer blocks: wr-perf

This seems much better now.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: