DescriptionReduce histogram creation time by avoiding import of those just created.
Attempting to import histograms in the persistent memory
segment is necessary because it could be shared and thus
have other processes creating objects within it. However,
there's no need to import those objects that this process
created.
The simple method remembering the "reference" of the last
histogram created in the allocator catches almost all
cases and reduces histogram creation time by 40%.
BUG=546019
Done as part of https://codereview.chromium.org/1738063002/
Patch Set 1 #Patch Set 2 : clear last-histogram when releasing allocator #
Messages
Total messages: 1 (1 generated)
|