commit | 41318f4888c1f60613c74cc86e539d173b16b0ad | [log] [tgz] |
---|---|---|
author | mkwst <mkwst@chromium.org> | Thu Jan 19 15:11:50 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jan 19 15:11:50 2017 |
tree | 04cd8cf33b3c03fe793ada3f0d66a2a7fc6ff931 | |
parent | 17231785eecb024061d82c7097a78d3169503aff [diff] |
Reduce 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}