diff options
author | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-21 14:01:15 +0000 |
---|---|---|
committer | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-21 14:01:15 +0000 |
commit | 579006cb986916ca2d50875b9f0b472e6b6039d1 (patch) | |
tree | fd9a98952eb78358eb20644a87578da6356f3b77 /chrome/test/data/History | |
parent | e90d24102c73e7593d95446ff039ef0e498bc411 (diff) | |
download | chromium_src-579006cb986916ca2d50875b9f0b472e6b6039d1.zip chromium_src-579006cb986916ca2d50875b9f0b472e6b6039d1.tar.gz chromium_src-579006cb986916ca2d50875b9f0b472e6b6039d1.tar.bz2 |
Better Cache HQP Results for Terms.
The way results for search terms being incrementally typed into the omnibox were being handled was flawed, causing terms other than the current complete word to be reprocessed on each keystroke. The caching mechanism was corrected with improved performance in the general case and dramatic performance improvement in the case of longer strings being typed into the omnibox.
Remove temporary workaround from http://codereview.chromium.org/7461001/.
BUG=88498,89728
TEST=Unit test updated to verify that search term results are being cached. Manual: Type a very long string into the omnibox and verify that typing is not slowed. Also backspace both at the end of and at other places in the string and verify that typing is responsive. Also type new terms both at the end of and at other places in the string. Also delete words in the string in various places.
Review URL: http://codereview.chromium.org/7395035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93385 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/History')
-rw-r--r-- | chrome/test/data/History/url_history_provider_test.db.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/data/History/url_history_provider_test.db.txt b/chrome/test/data/History/url_history_provider_test.db.txt index 5fd7821..9db0ca9 100644 --- a/chrome/test/data/History/url_history_provider_test.db.txt +++ b/chrome/test/data/History/url_history_provider_test.db.txt @@ -50,7 +50,7 @@ INSERT INTO "urls" VALUES(24,'http://www.danilatos.com/event-test/ExperimentTest INSERT INTO "urls" VALUES(25,'http://www.codeguru.com/','CodeGuru : codeguru',6,6,0,0,110); // Qualifies INSERT INTO "urls" VALUES(26,'http://www.codeproject.com/','Your Development Resource - CodeProject',6,6,0,0,369); // Qualifies INSERT INTO "urls" VALUES(27,'http://www.tomshardware.com/us/#redir','Tom''s Hardware: Hardware News, Tests and Reviews',6,6,0,0,65); // Qualifies -INSERT INTO "urls" VALUES(28,'http://www.ddj.com/windows/184416623','Dr. Dobb''s | Avoiding the Visual C++ Runtime Library | 2 1, 2003',6,6,0,0,0); // Qualifies +INSERT INTO "urls" VALUES(28,'http://www.ddj.com/windows/184416623','Dr. ABRACADABRA''s | Avoiding the Visual C++ Runtime Library | 2 1, 2003',6,6,0,0,0); // Qualifies INSERT INTO "urls" VALUES(29,'http://svcs.cnn.com/weather/getForecast?time=34&mode=json_html&zipCode=336736767676&locCode=EGLL&celcius=true&csiID=csi2','',6,6,0,1,0); // Qualifies INSERT INTO "urls" VALUES(30,'http://www.drudgery.com/Dogs%20and%20Mice','Life in the Slow Lane',8,2,2,0,0); // Qualifies INSERT INTO "urls" VALUES(31,'http://www.redrudgerydo.com/','Music of the Wild Landscape',0,0,6,0,0); |