DescriptionCache the ranges_ vector and share the ranges_ vector
across histograms if the ranges in the ranges_ vector
is same. This change saves around 100k of memory in the
browser (around 400 histograms sharing the same ranges_
vector and each ranges_ vector has around 50 elements).
In each renderer process we are sharing ranges_ vector
for around 30 histograms (a savings of 6k of memory).
R=jar
TEST=histogram unit tests.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106425
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #Patch Set 5 : '' #Patch Set 6 : '' #Patch Set 7 : '' #Patch Set 8 : '' #
Total comments: 16
Patch Set 9 : '' #
Total comments: 2
Patch Set 10 : '' #
Messages
Total messages: 6 (0 generated)
|