diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 16:32:14 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 16:32:14 +0000 |
commit | 1455ccf1ccef30ffc77f44ce34edd92e1faf9383 (patch) | |
tree | e45a0a4420a4b52abdf2040144fb2ba9590ff82b /jingle | |
parent | 8226fab91ba07240ba9b513606f8d3ffeed0ce09 (diff) | |
download | chromium_src-1455ccf1ccef30ffc77f44ce34edd92e1faf9383.zip chromium_src-1455ccf1ccef30ffc77f44ce34edd92e1faf9383.tar.gz chromium_src-1455ccf1ccef30ffc77f44ce34edd92e1faf9383.tar.bz2 |
Reduce "false positive" in preconnect rates.
Histograms suggest that all too often, we create a preconnection
for an omnibox entry (for a search URL), and then the
connection goes unused. This probably happens when
the first few letters of an URL are typed, but are
misconstrued to be a search URL. I added code that
requires a sequence of consecutive assertions by the
omnibox that the URL is preconnectable (i.e., is a
search URL). This will give me something to tune, but
this CL pulls a number out of teh air, in hopes of
getting some baseline.
I also noticed that the unused connections courtesy
of speculative subresource preconnection was higher
than expected, and the number of cases where we
didn't bother to even do a pre-resolut1ion for
a subresource was higher than expected. It used
to be that I did sub-resource pre-resolution for
all 8 learned speculative names. Now that we
have preconnection as an alternative, I extended
the count to 10 names learned, but put in a
threshold for expected connections. I adjusted
the thresholds to increase the amount of
pre-resolution, and decrease the amount of
preconection. I really need an A/B test
to optimize these, but initially I wanted
to get a feel for what happens with different
limits.
BUG=42694
r=mbelshe
Review URL: http://codereview.chromium.org/3126012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56538 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
0 files changed, 0 insertions, 0 deletions