Changeset 143649 in webkit
- Timestamp:
- Feb 21, 2013 1:46:26 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r143646 r143649 1 2013-02-21 Tony Gentilcore <tonyg@chromium.org> 2 3 Tune BackgroundHTMLParser's pendingTokenLimit based on a benchmark 4 https://bugs.webkit.org/show_bug.cgi?id=110408 5 6 Reviewed by Adam Barth. 7 8 This constant was tuned by running the top 25 sites in Telemetry on a Nexus 7 device. 9 The new value decreases the maximum time spent parsing by 40% without significantly impacting total parse time or DOMContentLoaded. 10 11 No new tests because no new functionality. 12 13 * html/parser/BackgroundHTMLParser.cpp: 14 (WebCore): 15 1 16 2013-02-21 Sheriff Bot <webkit.review.bot@gmail.com> 2 17 -
trunk/Source/WebCore/html/parser/BackgroundHTMLParser.cpp
r143051 r143649 113 113 } 114 114 115 // FIXME: Tune this constant based on a benchmark. The current value was chosen arbitrarily. 116 static const size_t pendingTokenLimit = 4000; 115 static const size_t pendingTokenLimit = 1000; 117 116 118 117 BackgroundHTMLParser::BackgroundHTMLParser(PassRefPtr<WeakReference<BackgroundHTMLParser> > reference, PassOwnPtr<Configuration> config)
Note: See TracChangeset
for help on using the changeset viewer.