diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 22:04:56 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 22:04:56 +0000 |
commit | c907656e92631caedf646ca8ee56cc91a0debb51 (patch) | |
tree | e9ff89c20b3f4e4fa4f75f85797e7828e46ea857 /chrome/renderer | |
parent | fe5a12c1a0f2ccdbf6e14809428073c011d786ec (diff) | |
download | chromium_src-c907656e92631caedf646ca8ee56cc91a0debb51.zip chromium_src-c907656e92631caedf646ca8ee56cc91a0debb51.tar.gz chromium_src-c907656e92631caedf646ca8ee56cc91a0debb51.tar.bz2 |
Disk cache: Remove per-size-group histograms and a few stale ones.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10116006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132879 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/page_load_histograms.cc | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/chrome/renderer/page_load_histograms.cc b/chrome/renderer/page_load_histograms.cc index 5f20c959..374a39e 100644 --- a/chrome/renderer/page_load_histograms.cc +++ b/chrome/renderer/page_load_histograms.cc @@ -586,60 +586,6 @@ void PageLoadHistograms::Dump(WebFrame* frame) { } } - // Histograms to determine the PLT impact of the cache's deleted list size. - static const bool use_cache_histogram = - base::FieldTrialList::TrialExists("CacheListSize"); - if (use_cache_histogram) { - UMA_HISTOGRAM_ENUMERATION( - base::FieldTrial::MakeName("PLT.Abandoned", "CacheListSize"), - abandoned_page ? 1 : 0, 2); - switch (load_type) { - case DocumentState::RELOAD: - PLT_HISTOGRAM(base::FieldTrial::MakeName( - "PLT.BeginToFinish_Reload", "CacheListSize"), - begin_to_finish_all_loads); - break; - case DocumentState::HISTORY_LOAD: - PLT_HISTOGRAM(base::FieldTrial::MakeName( - "PLT.BeginToFinish_HistoryLoad", "CacheListSize"), - begin_to_finish_all_loads); - break; - case DocumentState::NORMAL_LOAD: - PLT_HISTOGRAM(base::FieldTrial::MakeName( - "PLT.BeginToFinish_NormalLoad", "CacheListSize"), - begin_to_finish_all_loads); - break; - case DocumentState::LINK_LOAD_NORMAL: - PLT_HISTOGRAM(base::FieldTrial::MakeName( - "PLT.BeginToFinish_LinkLoadNormal", "CacheListSize"), - begin_to_finish_all_loads); - break; - case DocumentState::LINK_LOAD_RELOAD: - PLT_HISTOGRAM(base::FieldTrial::MakeName( - "PLT.BeginToFinish_LinkLoadReload", "CacheListSize"), - begin_to_finish_all_loads); - break; - case DocumentState::LINK_LOAD_CACHE_STALE_OK: - PLT_HISTOGRAM(base::FieldTrial::MakeName( - "PLT.BeginToFinish_LinkLoadStaleOk", "CacheListSize"), - begin_to_finish_all_loads); - break; - case DocumentState::LINK_LOAD_CACHE_ONLY: - PLT_HISTOGRAM(base::FieldTrial::MakeName( - "PLT.BeginToFinish_LinkLoadCacheOnly", "CacheListSize"), - begin_to_finish_all_loads); - break; - default: - break; - } - if (DocumentState::RELOAD <= load_type && - DocumentState::LINK_LOAD_CACHE_ONLY >= load_type) { - PLT_HISTOGRAM(base::FieldTrial::MakeName( - "PLT.BeginToFinish", "CacheListSize"), - begin_to_finish_all_loads); - } - } - // TODO(mpcomplete): remove the extension-related histograms after we collect // enough data. http://crbug.com/100411 chrome::ChromeContentRendererClient* client = |