DescriptionOmnibox: Don't Call Classify() Repeatedly
Tested:
* Search for "qrty.com" repeatedly. Verify that when you type "q", a search for "qrty.com" does not get inline autocompleted. This is the same as the behavior before this changelist. Without the Classify() code, this suppression of the inline autocompletion does not happen.
* Check speed. Search for "testing 1", "testing 2", ... "testing 13", ... i.e., create a lot of searches starting with "t". Restart browser. Open seven blank new tabs and two separate tabs of about:histograms. In each blank tab, type "t"; don't hit return. Reload one of the histograms tabs. Compare the Omnibox.ProviderTime.Search histogram in the non-reloaded histograms tab with the reloaded histograms tab.
- in current chrome (before this patch), I see a difference in the laggy section of the histogram. In my testing, I see 7 new entries in the 129-204ms bucket. Ugh.
- in chrome built with this patch, I see a difference in the 13-21ms bucket; no different in higher buckets.
BUG=393956, 262263
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285456
Patch Set 1 #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|