Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Issue 412063003: Omnibox: Don't Call Classify() Repeatedly (Closed)

Created:
6 years, 5 months ago by Mark P
Modified:
6 years, 5 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Project:
chromium
Visibility:
Public.

Description

Omnibox: 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -25 lines) Patch
M chrome/browser/autocomplete/search_provider.cc View 3 chunks +46 lines, -25 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
Mark P
Peter, What do you think of this approach? I think it should work well enough ...
6 years, 5 months ago (2014-07-23 23:52:40 UTC) #1
Peter Kasting
LGTM
6 years, 5 months ago (2014-07-23 23:55:53 UTC) #2
Mark P
I have tested this and it fixes the speed issue. Now submitting. Please correct me ...
6 years, 5 months ago (2014-07-24 19:08:14 UTC) #3
Mark P
The CQ bit was checked by mpearson@chromium.org
6 years, 5 months ago (2014-07-24 19:08:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/412063003/1
6 years, 5 months ago (2014-07-24 19:09:12 UTC) #5
Mark P
FYI, I updated the changelist description to include the testing I did. --mark
6 years, 5 months ago (2014-07-24 19:33:59 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 22:46:33 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 02:29:50 UTC) #8
Message was sent while issue was closed.
Change committed as 285456

Powered by Google App Engine
This is Rietveld 408576698