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

Issue 23469012: Omnibox: Add Histograms to Time Parts of SearchProvider (Closed)

Created:
7 years, 3 months ago by Mark P
Modified:
7 years, 2 months ago
Reviewers:
msw
CC:
chromium-reviews, James Su
Visibility:
Public.

Description

Omnibox: Add Histograms to Time Parts of SearchProvider Hopefully these will help me narrow down what part of SearchProvider is slow. I didn't add histograms to parts of the code that are only executed when suggest is enabled. People reporting the slowness attest that the slowness appears while suggest is disabled; I don't need to monitor the suggest section of the code at all. BUG=237703, 178705, 262263, 168933 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225323

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M chrome/browser/autocomplete/search_provider.cc View 10 chunks +29 lines, -0 lines 5 comments Download

Messages

Total messages: 14 (0 generated)
Mark P
What do you think? --mark
7 years, 3 months ago (2013-08-27 23:46:22 UTC) #1
msw
https://codereview.chromium.org/23469012/diff/1/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/23469012/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode639 chrome/browser/autocomplete/search_provider.cc:639: base::TimeTicks now(base::TimeTicks::Now()); eliminate |now| https://codereview.chromium.org/23469012/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode645 chrome/browser/autocomplete/search_provider.cc:645: UMA_HISTOGRAM_TIMES("Omnibox.SearchProvider.InMemoryDatabaseTime", Is it ...
7 years, 3 months ago (2013-08-29 17:32:24 UTC) #2
msw
LGTM; my comments were really nits and can be ignored. *Crosses fingers to avoid conflicts ...
7 years, 3 months ago (2013-09-25 00:55:22 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/23469012/1
7 years, 3 months ago (2013-09-25 01:03:32 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=171566
7 years, 3 months ago (2013-09-25 02:36:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/23469012/1
7 years, 3 months ago (2013-09-25 03:04:09 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=158087
7 years, 2 months ago (2013-09-25 08:07:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/23469012/1
7 years, 2 months ago (2013-09-25 13:41:47 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=158324
7 years, 2 months ago (2013-09-25 16:54:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/23469012/1
7 years, 2 months ago (2013-09-25 22:51:09 UTC) #10
commit-bot: I haz the power
Change committed as 225323
7 years, 2 months ago (2013-09-26 04:29:49 UTC) #11
Mark P
Thanks for submitting this! It'd be nice to add these histograms to histograms.xml so they ...
7 years, 2 months ago (2013-09-26 19:47:18 UTC) #12
msw
Hmm, for some reason I thought this would give us about:histograms reporting so we could ...
7 years, 2 months ago (2013-09-26 19:58:18 UTC) #13
Mark P
7 years, 2 months ago (2013-09-26 22:35:33 UTC) #14
Message was sent while issue was closed.
On 2013/09/26 19:58:18, msw wrote:
> Hmm, for some reason I thought this would give us about:histograms reporting
so
> we could just get reports from users hitting the slowness...  I think
aggregated
> UMA histograms will be far less useful, but I guess I'll add the corresponding
> histograms.xml enums since this is already in...

Good point, about:histograms is probably enough. After all, this is for
debugging
on a per particular user basis.  There's really no need for histograms.xml for
this
then.

--mark

Powered by Google App Engine
This is Rietveld 408576698