Open Bug 1957848 Opened 22 days ago Updated 19 days ago

Around 115% CPU load in idle mode when having https://ellesho.me/page/ open in the active tab

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

People

(Reporter: whimboo, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: power)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:138.0) Gecko/20100101 Firefox/138.0 ID:20250330093237

When having the page open I can see a ~115% CPU load when staying in idle mode. Around 80% is coming from the parent process while 35% contributes the web content process. Hereby the drawGrass method as called via FrameRequestCallback takes up most of the time by rendering to a Canvas 2D context.

Note that the CPU load as mentioned above is with the default 120Hz setting on a MacBook M4. By reducing the refresh rate to 60Hz I can see 70% CPU load (50% parent and 20% web content).

Here is a Gecko profile: 120 Hz, and 60 Hz

:lsalzman, can you comment to this bug?

Flags: needinfo?(lsalzman)
Severity: -- → S3

This seems like a reasonable overhead given the amount of rendering taking place.

Severity: S3 → S4
Component: Graphics: WebRender → Graphics: Canvas2D
Flags: needinfo?(lsalzman)
You need to log in before you can comment on or make changes to this bug.