Chromium Code Reviews
DescriptionReduce the perf overhead of our dangling markup experiments.
Given that Document::completeURL is a hotspot, this patch revamps the
approach to capture removed whitespace up in //url (where we're already
scanning through the string), and limits the scan for '<' to cases in
which we've actually removed whitespace.
BUG=680970, 682300
R=jochen@chromium.org
Review-Url: https://codereview.chromium.org/2643613002
Cr-Commit-Position: refs/heads/master@{#444734}
Committed: https://chromium.googlesource.com/chromium/src/+/41318f4888c1f60613c74cc86e539d173b16b0ad
Patch Set 1 #Patch Set 2 : Trimmed. #Patch Set 3 : Rebase. #
Total comments: 2
Patch Set 4 : unittest #
Messages
Total messages: 28 (20 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||