Chromium Code Reviews
Descriptionnet::SimplifyUrlForRequest fast path for URLs without {user,pass,ref} parts.
This function uses GURL::ReplaceComponents which triggers
canonicalization of the new URL. For the normal case where urls do not
have usernames, passwords, or ref parts, we can just return the original
URL.
ReplaceComponents takes around 13% of the time spent in
HttpCache::Transaction::Start with a SimpleCache backend on Linux, but
this method is used in a few different places.
BUG=664174
Committed: https://crrev.com/16060210ca945bcd601e380617d75f916a084932
Cr-Commit-Position: refs/heads/master@{#434756}
Patch Set 1 #
Messages
Total messages: 14 (8 generated)
|
|||||||||||||||||||