DescriptionUse a pointer type for values in DocumentOrderedMap
Use a pointer type for values in DocumentOrderedMap (OwnPtr<MapEntry>) instead
of a struct type (MapEntry). This should hopefully fix the performance
regression on Bindings/get-element-by-id micro benchmark caused by r164029 on
some platforms.
While this CL seems to have no performance impact on Linux Desktop, I see a 14%
improvement on Bindings/get-element-by-id micro benchmark on Android (tested on
Galaxy Note 3 device). This may be due to HashTable optimizations when the
empty value for ValueType is zero, or to better caching.
R=esprehn, abarth
BUG=330778
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164440
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|