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

Issue 2694183004: Adding TabRestore PLM UMA (Closed)

Created:
3 years, 10 months ago by RyanSturm
Modified:
3 years, 10 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, csharrison+watch_chromium.org, darin-cc_chromium.org, jam, loading-reviews+metrics_chromium.org, nasko+codewatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding TabRestore PLM UMA Adds bytes used UMA for TabRestores. There will be follow-up CLs to add various other UMA to this observer and CorePageLoadMetricsObserver. TabRestores here only include the first navigation entry after a tab restore (forward-back navigations that were restored are excluded). The goal is to evaluate how expensive TabRestores are for data sensitive users. BUG=686887 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2694183004 Cr-Commit-Position: refs/heads/master@{#452041} Committed: https://chromium.googlesource.com/chromium/src/+/248635a7e9e48fdebb242b60e81c46e90fca35e7

Patch Set 1 #

Total comments: 10

Patch Set 2 : rebase + comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -1 line) Patch
M chrome/browser/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.h View 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc View 1 1 chunk +85 lines, -0 lines 0 comments Download
A chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer_unittest.cc View 1 1 chunk +144 lines, -0 lines 0 comments Download
M chrome/browser/page_load_metrics/page_load_metrics_initialize.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 1 3 chunks +8 lines, -1 line 0 comments Download
M content/public/browser/navigation_handle.h View 2 chunks +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (27 generated)
RyanSturm
clamy: PTAL @ navigation_handle* changes bmcquade: PTAL @ new tab_restore observer asvitkine: PTAL @ histograms
3 years, 10 months ago (2017-02-15 17:13:08 UTC) #7
Alexei Svitkine (slow)
histograms lgtm https://codereview.chromium.org/2694183004/diff/1/chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc File chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2694183004/diff/1/chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc#newcode39 chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc:39: if (!IsTabRestore(navigation_handle)) { Nit: No {} Same ...
3 years, 10 months ago (2017-02-15 21:18:37 UTC) #8
Bryan McQuade
LGTM, thanks! https://codereview.chromium.org/2694183004/diff/1/chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc File chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2694183004/diff/1/chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc#newcode39 chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc:39: if (!IsTabRestore(navigation_handle)) { On 2017/02/15 at 21:18:37, ...
3 years, 10 months ago (2017-02-16 17:52:50 UTC) #9
Bryan McQuade
https://codereview.chromium.org/2694183004/diff/1/chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc File chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2694183004/diff/1/chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc#newcode62 chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer.cc:62: if (!info.committed_url.is_empty()) { I'm about to land https://codereview.chromium.org/2692373003 which ...
3 years, 10 months ago (2017-02-16 18:32:54 UTC) #10
RyanSturm
clamy, PTAL I couldn't find a good way to marry the page load metrics harness ...
3 years, 10 months ago (2017-02-17 02:21:24 UTC) #15
clamy
On 2017/02/17 02:21:24, Ryan Sturm wrote: > clamy, PTAL content/ lgtm. > > I couldn't ...
3 years, 10 months ago (2017-02-21 13:39:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2694183004/20001
3 years, 10 months ago (2017-02-21 19:53:59 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on ...
3 years, 10 months ago (2017-02-21 21:58:40 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2694183004/20001
3 years, 10 months ago (2017-02-21 23:08:22 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_site_isolation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isolation/builds/6217)
3 years, 10 months ago (2017-02-22 01:27:14 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2694183004/20001
3 years, 10 months ago (2017-02-22 01:33:23 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-22 01:40:16 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2694183004/20001
3 years, 10 months ago (2017-02-22 02:43:25 UTC) #31
commit-bot: I haz the power
Exceeded global retry quota
3 years, 10 months ago (2017-02-22 04:46:25 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2694183004/20001
3 years, 10 months ago (2017-02-22 14:31:26 UTC) #39
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 14:40:37 UTC) #43
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/248635a7e9e48fdebb242b60e81c...

Powered by Google App Engine
This is Rietveld 408576698