Closed
Bug 1198468
Opened 9 years ago
Closed 2 years ago
Make graphics timeline checkerboard aware
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect, P3)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: akratel, Unassigned)
Details
User Story
As a developer I'd like to be able to find out when the graphics engine is rendering checkerboards because some part of my code is blocking graphics.
Platform team implemented a jank-eliminator via painting checkerboard patterns where the page can't keep up rather than holding up the page. This means they have internal metrics that tell them when this is happening. We should be able to provide developers with data for when this is happening. This might also be a way for us to find additional jank. See 944938, 1013364 for APZ, scrolling stuff is still in the works for this, not in place yet. This bug is a place holder to see what we can do on perf tools with detecting when checkerboard patterns appear.
Reporter | ||
Updated•9 years ago
|
User Story: (updated)
Kats, Benwa, is there something we need to do here, and if not, let's share what we have with the dev tools.
Flags: needinfo?(bugmail.mozilla)
Flags: needinfo?(bgirard)
Comment 2•9 years ago
|
||
I think we should be telling web authors to instead focus on getting their transaction as close to 60 FPS as they can which would imply no checkerboarding. Checkerboarding is a function of how much pre-redering we want to do and may change from build to build. Having web authors aim for 60 FPS is a better and simpler target. I don't think it's a great idea to expose both when we really want them to not hold the event loop for too long. The page will be janky if they don't hit this metric and if they do they wont get checkerboarding.
Flags: needinfo?(bgirard)
Comment 3•9 years ago
|
||
I forgot to add, if web developers *really* want they can take a peak at 'apz.minimap.enabled;true'. But this is really meant for platform, we shouldn't be exposing this from devtools directly.
Comment 4•9 years ago
|
||
I mostly agree with BenWa but it might also be handy to show on profiles (either the devtools graphics timeline or just the profiler add-on) when we do checkerboard, just like how we show when we jank. That way somebody could profile a page, and quickly find the piece of the profile that led to the checkerboarding. It might not necessarily be JS code, it might just be slow painting operations in Gecko.
Flags: needinfo?(bugmail.mozilla)
Comment 5•9 years ago
|
||
Are checkering operations blocking the main thread? Are they always nested in a paint marker?
Comment 6•9 years ago
|
||
Checkerboarding is usually caused by slow operations on the main thread. They don't have to be nested in a paint; it could just be something long-running that prevents the paint from happening quickly enough.
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
Comment 8•2 years ago
|
||
This report is related to the old DevTools Profiler.
The Performance panel now points to the new Firefox profiler available at profiler.firefox.com
Closing as Invalid bug
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•