Open Bug 2085589 Opened 21 days ago Updated 20 days ago

ScrollContainerFrame is rather bloated.

Categories

(Core :: Layout: Scrolling and Overflow, defect, P3)

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

(Blocks 1 open bug)

Details

I did some profiling speedometer3 for bug 2085386, and ScrollContainerFrame stands out as:

  • Very very common in some subtests.
  • Very very large.

It seems we could improve some cache locality (and memory usage) by shrinking it. I assume most of the usage is actually overflow: hidden. Looking at class layout in Searchfox seems most of those fields won't be used when not scrolled.

PERF key word?

You need to log in before you can comment on or make changes to this bug.