Closed Bug 1373759 Opened 7 years ago Closed 9 months ago

Categories

(Core :: Graphics: Layers, defect, P3)

Unspecified
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox57 --- fix-optional

People

(Reporter: snorp, Unassigned)

References

()

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

The page takes forever to load, but even then it's impossible to ever scroll smoothly.
Here's a profile. You can view it directly at https://perf-html.io/public/f492ec73bccd34fb59786ca2daff64e03c5cb6ab/calltree/?thread=0

The compositor spends all of it's time uploading. The content thread spends most of it's time painting (mostly in ValidateTile?) or running scripts.
This was on a Nexus 6P. Oddly on my Pixel it seems much better.
Priority: -- → P3
Whiteboard: [gfx-noted]
Recent regression?
Flags: needinfo?(snorp)
When the content process is spending most time memsetting in ValidateTile, and the compositor is spending most time uploading textures, that could mean that the entire layer is being invalidated frequently. That was the case in bug 1360306 which I looked at recently.
Yeah this is awful. I don't know what they're doing but there are a lot of layers, and large parts of the page switch between layers whilst scrolling, requiring them to be repainted frequently
I think it's probably not a recent regression.
Flags: needinfo?(snorp)
Mike, is there any evangelism we can do here?
Flags: needinfo?(miket)
I'll investigate a bit further so we can check if we're doing anything stupid and/or have something more specific to evangelize.
(In reply to Jamie Nicol [:jnicol] from comment #8)
> I'll investigate a bit further so we can check if we're doing anything
> stupid and/or have something more specific to evangelize.

That would be great -- the more specific we can be the better. Please ni? again (or move to Tech Evangelism::Desktop) if we end up there, thanks!
Flags: needinfo?(miket)
Severity: normal → S3

This is much better now, presumably fixed by webrender

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

Attachment

General

Created:
Updated:
Size: