|
|
Chromium Code Reviews|
Created:
7 years, 3 months ago by Mark P Modified:
7 years, 2 months ago Reviewers:
msw CC:
chromium-reviews, James Su Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionOmnibox: 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
Messages
Total messages: 14 (0 generated)
What do you think? --mark
https://codereview.chromium.org/23469012/diff/1/chrome/browser/autocomplete/s... File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/23469012/diff/1/chrome/browser/autocomplete/s... 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/s... chrome/browser/autocomplete/search_provider.cc:645: UMA_HISTOGRAM_TIMES("Omnibox.SearchProvider.InMemoryDatabaseTime", Is it worthwhlie to dig in beyond the overall DoHistoryQueryTime now? https://codereview.chromium.org/23469012/diff/1/chrome/browser/autocomplete/s... chrome/browser/autocomplete/search_provider.cc:666: "Omnibox.SearchProvider.GetMostRecentKeywordTermsDefaultProviderTime", nit: RecentKeywordTermsTime? I guess names don't matter much anyway... https://codereview.chromium.org/23469012/diff/1/chrome/browser/autocomplete/s... chrome/browser/autocomplete/search_provider.cc:1033: UMA_HISTOGRAM_CUSTOM_COUNTS( Ditto on the questionable necessity of this given the overall ConvertResultsTime. A set of fewer high-level data points will help us narrow our investigation once we have a top-level culprit. I'm not excited to see more fine grained histograms added now that might just be useless. https://codereview.chromium.org/23469012/diff/1/chrome/browser/autocomplete/s... chrome/browser/autocomplete/search_provider.cc:1182: UMA_HISTOGRAM_TIMES("Omnibox.SearchProvider.UpdateStarredTime", ditto
LGTM; my comments were really nits and can be ignored. *Crosses fingers to avoid conflicts and checks the CQ bit.*
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/23469012/1
Retried try job too often on linux_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/23469012/1
Retried try job too often on linux_chromeos for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chro...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/23469012/1
Retried try job too often on linux_chromeos for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chro...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/23469012/1
Message was sent while issue was closed.
Change committed as 225323
Message was sent while issue was closed.
Thanks for submitting this! It'd be nice to add these histograms to histograms.xml so they show up on the dashboard. I can't do it; I'm still on leave. It's not important though, if you're willing to dremel for them, or are willing to let this lagginess issue sit until I get back. --mark
Message was sent while issue was closed.
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...
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 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
