Title: [160830] trunk/Source/WebCore
- Revision
- 160830
- Author
- [email protected]
- Date
- 2013-12-19 07:24:10 -0800 (Thu, 19 Dec 2013)
Log Message
CascadedProperties: Deferred properties should have inline capacity.
<https://webkit.org/b/125994>
Give CascadedProperties::m_deferredProperties an inline capacity
of 8 to sidestep malloc churn (0.2% of HTML5-8266 profile.)
Reviewed by Antti Koivisto.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (160829 => 160830)
--- trunk/Source/WebCore/ChangeLog 2013-12-19 13:59:11 UTC (rev 160829)
+++ trunk/Source/WebCore/ChangeLog 2013-12-19 15:24:10 UTC (rev 160830)
@@ -1,5 +1,15 @@
2013-12-19 Andreas Kling <[email protected]>
+ CascadedProperties: Deferred properties should have inline capacity.
+ <https://webkit.org/b/125994>
+
+ Give CascadedProperties::m_deferredProperties an inline capacity
+ of 8 to sidestep malloc churn (0.2% of HTML5-8266 profile.)
+
+ Reviewed by Antti Koivisto.
+
+2013-12-19 Andreas Kling <[email protected]>
+
Two small refinements to matched properties cache.
<https://webkit.org/b/125992>
Modified: trunk/Source/WebCore/css/StyleResolver.cpp (160829 => 160830)
--- trunk/Source/WebCore/css/StyleResolver.cpp 2013-12-19 13:59:11 UTC (rev 160829)
+++ trunk/Source/WebCore/css/StyleResolver.cpp 2013-12-19 15:24:10 UTC (rev 160830)
@@ -219,7 +219,7 @@
Property m_properties[numCSSProperties + 1];
std::bitset<numCSSProperties + 1> m_propertyIsPresent;
- Vector<Property> m_deferredProperties;
+ Vector<Property, 8> m_deferredProperties;
TextDirection m_direction;
WritingMode m_writingMode;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes