[meta] Frame building performance
Categories
(Core :: Graphics: WebRender, task, P3)
Tracking
()
People
(Reporter: nical, Unassigned)
References
(Depends on 31 open bugs, Blocks 2 open bugs)
Details
(Keywords: meta)
Meta bug to track issues and actionable items around the performance of frame building. This code runs every frame so performance issues are magnified and even small improvements can accumulate into better power usage.
Identifying frame building perf issues
The primary metric for frame building performance is the Backend
timings provided by the profiler HUD. The first value is the average over a number of frames which is a good number to look at when the goal is to reduce overall CPU usage and power consumption, while the "max" number is the value to look at when improving janky frame rates.
When using the firefox profiler addon, the thread to look at is usually WRRenderBackend#1
(when a single browser window is open). Make sure to tick the RenderBackend
box in the profiler's settings before profiling.
If getting reliable measurements for a test case is difficult, disabling gfx.webrender.picture-caching
sometimes help.
A good target for frame building would be to keep the max timings consistently under 3ms on most pages.
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Updated•8 months ago
|
Description
•