[Webkit-unassigned] [Bug 93606] [Qt] UpdateAtlas is wasting memory
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 10 05:02:21 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93606
--- Comment #12 from Allan Sandfeld Jensen <allan.jensen at nokia.com> 2012-08-10 05:02:47 PST ---
(In reply to comment #6)
> story continues as bugzilla resurrected...
>
> Let's see how many atlases are allocated. For this reason I printed in the update atlas ctor with the dimension (which is contant in trunk and candidate 1). Results (all of them with simply zooming in google.com and scrolling):
>
> ref
> UpdateAtlas: 2000
> UpdateAtlas: 2000
> UpdateAtlas: 2000
> UpdateAtlas: 2000
> UpdateAtlas: 2000
> UpdateAtlas: 2000
> UpdateAtlas: 2000
> UpdateAtlas: 2000
> UpdateAtlas: 2000
>
> candidate 1
> UpdateAtlas: 2000
> UpdateAtlas: 2000
> UpdateAtlas: 2000
> UpdateAtlas: 2000
>
> candidate 2
> UpdateAtlas: 2048
> UpdateAtlas: 1024
> UpdateAtlas: 128
> UpdateAtlas: 512
> UpdateAtlas: 2048
> UpdateAtlas: 2048
> UpdateAtlas: 128
> UpdateAtlas: 512
> UpdateAtlas: 1024
>
> So, candidate 1 needs less allocation, but according to my calculation it still use 2.5Mb more memory.
>
> Allan, could you upload your work, so we can compare with these?
Apparently only two allocations:
WebKit::UpdateAtlas::UpdateAtlas(int, WebKit::ShareableBitmap::Flags) 2048
WebKit::UpdateAtlas::UpdateAtlas(int, WebKit::ShareableBitmap::Flags) 2048
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list