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

Issue 1416963002: Abandon startup profiling for first WebContents when it gets hidden or navigated to a different ... (Closed)

Created:
5 years, 2 months ago by gab
Modified:
5 years, 2 months ago
Reviewers:
rkaplow
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Abandon startup profiling for first WebContents when it gets hidden or navigated to a different page. Also add histograms to track when startup profiling is abandonned (useful long term and also allows to see the short term impact of this change). BUG=525209 Committed: https://crrev.com/16bb3e51197639ac628b3f802f775bc83f437845 Cr-Commit-Position: refs/heads/master@{#355159}

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 4

Patch Set 3 : review:rkaplow #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -8 lines) Patch
M chrome/browser/metrics/first_web_contents_profiler.h View 1 2 1 chunk +26 lines, -2 lines 0 comments Download
M chrome/browser/metrics/first_web_contents_profiler.cc View 1 2 5 chunks +42 lines, -6 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +25 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (4 generated)
gab
Robert PTAL. Thanks, Gab
5 years, 2 months ago (2015-10-20 19:27:07 UTC) #2
rkaplow
lgtm Also it took me multiple reads of your CL description to see what you ...
5 years, 2 months ago (2015-10-20 20:08:30 UTC) #3
gab
Thanks, done (and rephrased desc to use "abandon" instead of "stop"). https://codereview.chromium.org/1416963002/diff/20001/chrome/browser/metrics/first_web_contents_profiler.cc File chrome/browser/metrics/first_web_contents_profiler.cc (right): ...
5 years, 2 months ago (2015-10-20 20:16:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416963002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416963002/40001
5 years, 2 months ago (2015-10-20 20:17:08 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-20 21:38:39 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-10-20 21:39:22 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/16bb3e51197639ac628b3f802f775bc83f437845
Cr-Commit-Position: refs/heads/master@{#355159}

Powered by Google App Engine
This is Rietveld 408576698