summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/page_load_histograms.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add one-time randomization support for FieldTrial, and the ability tojoi@chromium.org2011-05-101-28/+21
| | | | | | | | | | | | | | | | | | | | | | | disable field trials. I am going to have a need for both soon. Update some documentation about empty trial names, add TrialExists() method and update many call-sites to use this (it simplifies the previous logic which checked for existence and then for non-empty name, which can no longer happen). Refactor a bit in browser_main. While I'm in there and needing base/OWNERS approval, add an OWNERS file for base/metrics that adds jar@chromium.org as an owner for that directory. Initially committed as r84197. Rolled back due to DCHECK in official builds, r84373. Will re-submit with fix. BUG=81750 TEST=base_unittests Review URL: http://codereview.chromium.org/6883102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84801 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 84197 - Add one-time randomization support for FieldTrial, and the ↵joi@chromium.org2011-05-061-21/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | ability to disable field trials. I am going to have a need for both soon. Cleaning up some comments about empty trial names, adding static method TrialExists() and simplifying many call sites by using this method. While I'm in there and needing base/OWNERS approval, add an OWNERS file for base/metrics that adds jar@chromium.org as an owner for that directory. BUG=none TEST=base_unittests TBR=jam@chromium.org R=jar@chromium.org,phajdan.jr@chromium.org,mark@chromium.org,wtc@chromium.org Reason for revert: See http://crbug.com/81750 BUG=81750 TBR=joi@chromium.org Review URL: http://codereview.chromium.org/6931048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84373 0039d316-1c4b-4281-b951-d872f2087c98
* Add one-time randomization support for FieldTrial, and the ability tojoi@chromium.org2011-05-051-28/+21
| | | | | | | | | | | | | | | | | | disable field trials. I am going to have a need for both soon. Cleaning up some comments about empty trial names, adding static method TrialExists() and simplifying many call sites by using this method. While I'm in there and needing base/OWNERS approval, add an OWNERS file for base/metrics that adds jar@chromium.org as an owner for that directory. BUG=none TEST=base_unittests TBR=jam@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84197 0039d316-1c4b-4281-b951-d872f2087c98
* Remove most prerendering code/references from content. mmenke@chromium.org2011-04-301-64/+8
| | | | | | | | | | | | | | | | | | | | | | The only place where prerendering code remains in content is in ResourceDispatcherHost. As NavigationState can no longer be used to track prerendering histogram information, the prerendering renderer-side histograms have been reworked (And renamed) as well. The histogram intended to track use of prerendering RenderViews has been removed, as histograms are not recorded when a RenderView is destroyed. BUG=77090 TEST=Compiles, existing PrerenderBrowserTests, grep Review URL: http://codereview.chromium.org/6900026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83642 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the last Chrome dependencies from renderer, and enforce no more ↵jam@chromium.org2011-04-181-0/+1
| | | | | | | | includes through DEPS. I also added DEPS checking for gpu/plugin/worker directories as well. I moved the Chrome specific browser tests to the chrome directory, and removed render_widget_unittest since it didn't seem to be testing much (there are tests that test it much more fully). I had to move bindings_policy.h, which ideally would be split into separate pieces so that the content layer only has to know about the content bindings. Given that it's basically an enum, I moved the whole file now since it's used in a lot of places, and the value of turning on DEPS checking is really high. Review URL: http://codereview.chromium.org/6874038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81924 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of the Chrome dependencies from RenderThread.jam@chromium.org2011-04-141-12/+38
| | | | | | Review URL: http://codereview.chromium.org/6853029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81666 0039d316-1c4b-4281-b951-d872f2087c98
* HTML/Javascript redirects while prerendering are no longermmenke@chromium.org2011-04-111-4/+10
| | | | | | | | | | | | | | | | | recorded as cancelled prerenders in the histograms. Also, the time recorded for the time until display of prerendered pages takes into account the time taken by any redirects. This makes histograms for prerendered and non-prerendered pages even less directly comparable than before. BUG=78506 TEST=renderer-side histograms look a bit more like what we're seeing via other measurements. Review URL: http://codereview.chromium.org/6735071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81098 0039d316-1c4b-4281-b951-d872f2087c98
* Fixup broken histogram names - these changed some time back for mostmbelshe@chromium.org2011-04-041-3/+3
| | | | | | | | | | histograms, but this histogram was not renamed (accidentally) BUG=none TEST=none Review URL: http://codereview.chromium.org/6693070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80353 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch more random files from chrome\renderer to content\renderer.jam@chromium.org2011-03-181-1/+1
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6685072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78640 0039d316-1c4b-4281-b951-d872f2087c98
* Use the correct preload field trial name in page_load_histograms.cc.mmenke@chromium.org2011-03-141-5/+5
| | | | | | | | | BUG=75682 TEST=none Review URL: http://codereview.chromium.org/6646056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78055 0039d316-1c4b-4281-b951-d872f2087c98
* Add field trial for A/B testing of SSL False Start.mbelshe@chromium.org2011-02-181-0/+21
| | | | | | | | | | | | | Enable two histograms for measurement: - measure PLT differences - measure SSL_Connect_Latency conditioned on the test. BUG=none TEST=none Review URL: http://codereview.chromium.org/6544004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75402 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms for prerendering to the renderer process, second try. mmenke@chromium.org2011-02-131-0/+57
| | | | | | | | | | | | | BUG=71160 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74034 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=74040 Review URL: http://codereview.chromium.org/6448002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74774 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74034 - Add histograms for prerendering to the renderer process. mmenke@chromium.org2011-02-071-54/+0
| | | | | | | | | | | | BUG=71160 TEST=none Review URL: http://codereview.chromium.org/6255015 TBR=mmenke@chromium.org Review URL: http://codereview.chromium.org/6368145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74040 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms for prerendering to the renderer process. mmenke@chromium.org2011-02-071-0/+54
| | | | | | | | | BUG=71160 TEST=none Review URL: http://codereview.chromium.org/6255015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74034 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS past WebKit move. Update gyp files and include paths to ↵abarth@chromium.org2011-01-171-2/+2
| | | | | | reflect the move. Consolidate how we DEPS in WebKit source files. Cross fingers. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71585 0039d316-1c4b-4281-b951-d872f2087c98
* Fix two bugs in recording web timing histograms.tonyg@chromium.org2011-01-141-19/+32
| | | | | | | | | | | | 1. Record them prior to the missing-start shortcut. 2. Don't share a recorded boolean with the legacy times. TEST=NONE BUG=NONE Review URL: http://codereview.chromium.org/6276001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71452 0039d316-1c4b-4281-b951-d872f2087c98
* Don't add to LoadStart and LoadEnd histograms if load event hasn't fired yet.tonyg@chromium.org2010-12-141-4/+7
| | | | | | | | | | BUG=64321 TEST=adhoc (visit http://www/~eisinger/redirect.html) Review URL: http://codereview.chromium.org/5382006 Patch from James Simonsen <simonjam@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69141 0039d316-1c4b-4281-b951-d872f2087c98
* Spdy Histogram cleanup:mbelshe@chromium.org2010-12-131-9/+9
| | | | | | | | | | | | * Remove the unnecessary "SpdyTrial" from a bunch of histogram names * Rework the names of the "SpdyCwnd" trial to use "_" instead of ".spdy." BUG=none TEST=none Review URL: http://codereview.chromium.org/5738006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69019 0039d316-1c4b-4281-b951-d872f2087c98
* Add some experiments for different policies on cwnd restore.mbelshe@chromium.org2010-12-111-0/+30
| | | | | | | | | BUG=none TEST=self Review URL: http://codereview.chromium.org/5687002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68938 0039d316-1c4b-4281-b951-d872f2087c98
* PLT updates.tonyg@chromium.org2010-11-111-13/+63
| | | | | | | | | | | | | | | Fix a bug introduced by me in 65223. The boolean indicating whether histograms have been dumped must be on navigation_state instead of page_load_histograms. Introduce a histogram for the Web Timing page load time which measures the commit to the start/end of the load event. Also introduce two histograms for troubleshooting abandonment and missing starts. We will use these histograms temporarily for vetting these metrics. BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65738 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo introduced in r56164. This caused PLT histograms to only be savedtonyg@chromium.org2010-11-091-1/+1
| | | | | | | | | in abandonment cases. BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65459 0039d316-1c4b-4281-b951-d872f2087c98
* Factor a PageLoadHistograms class out of RenderView.tonyg@chromium.org2010-11-051-0/+696
| | | | | | | | | | | | | | | | | | | | | | | No functional changes are intended. This is in anticipation of using the new WebPerformance API: http://trac.webkit.org/changeset/68141 My strategy is this: 1. In this patch, make the most minimal change possible to the Dump() method necessary to factor it out to a new class. 2. Add a new, temporary histograms which log the WebPerformance metrics which have an existing counterparts. 3. Once we understand any differences and are happy with the new metrics, rip out the old ones. This will allow more cleanup in RenderView and NavigationState. 4. Add new histograms for any interesting WebPerformance metrics which weren't previously available. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65223 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 63536 - Might have broken tests on win.tonyg@chromium.org2010-10-221-697/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor a PageLoadHistograms class out of RenderView. No functional changes are intended. This is in anticipation of using the new WebPerformance API: http://trac.webkit.org/changeset/68141 My strategy is this: 1. In this patch, make the most minimal change possible to the Dump() method necessary to factor it out to a new class. 2. Add a new, temporary histograms which log the WebPerformance metrics which have an existing counterparts. 3. Once we understand any differences and are happy with the new metrics, rip out the old ones. This will allow more cleanup in RenderView and NavigationState. 4. Add new histograms for any interesting WebPerformance metrics which weren't previously available. BUG=none TEST=none Review URL: http://codereview.chromium.org/3502005 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/4061004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63569 0039d316-1c4b-4281-b951-d872f2087c98
* Factor a PageLoadHistograms class out of RenderView.tonyg@chromium.org2010-10-221-0/+697
No functional changes are intended. This is in anticipation of using the new WebPerformance API: http://trac.webkit.org/changeset/68141 My strategy is this: 1. In this patch, make the most minimal change possible to the Dump() method necessary to factor it out to a new class. 2. Add a new, temporary histograms which log the WebPerformance metrics which have an existing counterparts. 3. Once we understand any differences and are happy with the new metrics, rip out the old ones. This will allow more cleanup in RenderView and NavigationState. 4. Add new histograms for any interesting WebPerformance metrics which weren't previously available. BUG=none TEST=none Review URL: http://codereview.chromium.org/3502005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63536 0039d316-1c4b-4281-b951-d872f2087c98