DescriptionSmaller initial DisplayItemList to use less memory.
The previous initial size of the DisplayItemList was very pessimistic
and used 10+ KB (64 * sizeof(BeginTransform3DDisplayItem)). On a page like
YouTube there were 50 of them in use so a total of half a MB.
Looking at usage patterns, 512 bytes seems to be enough in many cases
which would save most of that half MB (not all committed so the amount
of reduced RAM usage is in the 1-200 KB range).
BUG=538615
Committed: https://crrev.com/84b2acf3ce32315313f954f956084bbcad83238a
Cr-Commit-Position: refs/heads/master@{#355556}
Patch Set 1 #
Messages
Total messages: 12 (3 generated)
|