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

Issue 1410943005: Implements AddStartupEventsForTelemetry() in startup_metric_utils.cc for in-coming startup telemetry (Closed)

Created:
5 years, 1 month ago by gabadie_google
Modified:
5 years, 1 month ago
Reviewers:
gabadie, gab, shatch, sh
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@b00
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implements AddStartupEventsForTelemetry() in startup_metric_utils.cc for in-coming startup telemetry benchmarks using TBM. BUG=539287 CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_10_10_perf_bisect;tryserver.chromium.perf:win_perf_bisect;tryserver.chromium.perf:android_nexus5_perf_bisect Committed: https://crrev.com/4cec3b7462517d2b8911c131f33d141dd9bd25e0 Cr-Commit-Position: refs/heads/master@{#360592}

Patch Set 1 #

Patch Set 2 : Uplift for review #

Patch Set 3 : Moves mark trace events ton undeprecated startup_metric_utils.cc's functions #

Patch Set 4 : Fixes compilation failure in startup_metric_utils.cc #

Patch Set 5 : Replace added mark event by instant time event, and ignore the first cold results in warm benchmarks #

Total comments: 12

Patch Set 6 : Patchs split up (only chromium side changes) + gab's review fix #

Total comments: 4

Patch Set 7 : Gab's tips' fixes #

Total comments: 4

Patch Set 8 : Fixes TRACE_EVENT_INSTANT_WITH_TIMESTAMP to use TRACE_EVENT_PHASE_INSTANT #

Total comments: 4

Patch Set 9 : Renames TRACE_EVENT_INSTANT_WITH_TIMESTAMP to TRACE_EVENT_INSTANT_WITH_TIMESTAMP0 #

Patch Set 10 : Rebases on top of 443bd11bc8106bea98a89819b7bb1b35d6e5ddf8 #

Patch Set 11 : s/g_browser_process_creation_ticks/g_process_creation_ticks #

Patch Set 12 : Fixes linux_android_rel_ng failures #

Total comments: 2

Patch Set 13 : Brings back AddStartupEventsForTelemetry #

Patch Set 14 : Fixes telemetry_perf_unittests on linux_android_rel_ng #

Patch Set 15 : Fixes miss leading instant events caused by patch set #14 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -0 lines) Patch
M base/trace_event/common/trace_event_common.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M components/startup_metric_utils/browser/startup_metric_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +19 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (14 generated)
gabadie
PTAL, thanks. =)
5 years, 1 month ago (2015-11-09 14:24:35 UTC) #2
gabadie
On 2015/11/09 14:24:35, gabadie wrote: > PTAL, thanks. =) It has been ported to my ...
5 years, 1 month ago (2015-11-09 18:01:19 UTC) #3
gabadie
Hi there, Just uploaded patch set #5 ready to review. It fixes all the concern ...
5 years, 1 month ago (2015-11-10 16:07:29 UTC) #6
nednguyen
On 2015/11/10 16:07:29, gabadie wrote: > Hi there, > > Just uploaded patch set #5 ...
5 years, 1 month ago (2015-11-10 16:10:52 UTC) #7
gab
startup_metrics_util lg, a few comments below https://codereview.chromium.org/1410943005/diff/80001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/1410943005/diff/80001/chrome/browser/chrome_browser_main.cc#newcode1708 chrome/browser/chrome_browser_main.cc:1708: TRACE_EVENT_END0("startup", "Startup.BrowserOpenTabs"); I ...
5 years, 1 month ago (2015-11-10 19:30:53 UTC) #8
gabadie
simonhatch@chromium.org: Please review changes in base/trace_event/common/trace_event_common.h gab@chromium.org: Please review changes in components/startup_metric_utils/browser/startup_metric_utils.cc Thanks you. :) ...
5 years, 1 month ago (2015-11-12 08:57:20 UTC) #11
gabadie
Thanks gab for your feedback!
5 years, 1 month ago (2015-11-12 08:57:57 UTC) #12
gabadie
5 years, 1 month ago (2015-11-12 08:58:27 UTC) #13
gab
lgtm w/ comments, thanks! https://codereview.chromium.org/1410943005/diff/100001/components/startup_metric_utils/browser/startup_metric_utils.cc File components/startup_metric_utils/browser/startup_metric_utils.cc (right): https://codereview.chromium.org/1410943005/diff/100001/components/startup_metric_utils/browser/startup_metric_utils.cc#newcode317 components/startup_metric_utils/browser/startup_metric_utils.cc:317: // TODO(gabadie): Once startup_with_url.* benchmarks ...
5 years, 1 month ago (2015-11-12 14:41:38 UTC) #15
gabadie
Gab's comment fixed. PTAL :) https://codereview.chromium.org/1410943005/diff/100001/components/startup_metric_utils/browser/startup_metric_utils.cc File components/startup_metric_utils/browser/startup_metric_utils.cc (right): https://codereview.chromium.org/1410943005/diff/100001/components/startup_metric_utils/browser/startup_metric_utils.cc#newcode317 components/startup_metric_utils/browser/startup_metric_utils.cc:317: // TODO(gabadie): Once startup_with_url.* ...
5 years, 1 month ago (2015-11-12 17:43:34 UTC) #16
shatch
https://codereview.chromium.org/1410943005/diff/120001/base/trace_event/common/trace_event_common.h File base/trace_event/common/trace_event_common.h (right): https://codereview.chromium.org/1410943005/diff/120001/base/trace_event/common/trace_event_common.h#newcode312 base/trace_event/common/trace_event_common.h:312: #define TRACE_EVENT_INSTANT_WITH_TIMESTAMP(category_group, name, scope, \ Should this be TRACE_EVENT_MARK_WITH_TIMESTAMP0 ...
5 years, 1 month ago (2015-11-13 17:32:04 UTC) #17
gabadie
https://codereview.chromium.org/1410943005/diff/120001/base/trace_event/common/trace_event_common.h File base/trace_event/common/trace_event_common.h (right): https://codereview.chromium.org/1410943005/diff/120001/base/trace_event/common/trace_event_common.h#newcode312 base/trace_event/common/trace_event_common.h:312: #define TRACE_EVENT_INSTANT_WITH_TIMESTAMP(category_group, name, scope, \ On 2015/11/13 17:32:04, shatch ...
5 years, 1 month ago (2015-11-16 12:09:03 UTC) #18
shatch
https://codereview.chromium.org/1410943005/diff/120001/base/trace_event/common/trace_event_common.h File base/trace_event/common/trace_event_common.h (right): https://codereview.chromium.org/1410943005/diff/120001/base/trace_event/common/trace_event_common.h#newcode312 base/trace_event/common/trace_event_common.h:312: #define TRACE_EVENT_INSTANT_WITH_TIMESTAMP(category_group, name, scope, \ On 2015/11/16 12:09:03, gabadie ...
5 years, 1 month ago (2015-11-16 14:58:30 UTC) #19
gabadie
Good catch Simon! I have made the fix. =) https://codereview.chromium.org/1410943005/diff/120001/base/trace_event/common/trace_event_common.h File base/trace_event/common/trace_event_common.h (right): https://codereview.chromium.org/1410943005/diff/120001/base/trace_event/common/trace_event_common.h#newcode312 base/trace_event/common/trace_event_common.h:312: ...
5 years, 1 month ago (2015-11-16 15:36:18 UTC) #20
sh
lgtm w/ comments https://codereview.chromium.org/1410943005/diff/140001/base/trace_event/common/trace_event_common.h File base/trace_event/common/trace_event_common.h (right): https://codereview.chromium.org/1410943005/diff/140001/base/trace_event/common/trace_event_common.h#newcode312 base/trace_event/common/trace_event_common.h:312: #define TRACE_EVENT_INSTANT_WITH_TIMESTAMP(category_group, name, scope, \ nit: ...
5 years, 1 month ago (2015-11-16 15:46:49 UTC) #22
gabadie
Thanks guys! :-) https://codereview.chromium.org/1410943005/diff/140001/base/trace_event/common/trace_event_common.h File base/trace_event/common/trace_event_common.h (right): https://codereview.chromium.org/1410943005/diff/140001/base/trace_event/common/trace_event_common.h#newcode312 base/trace_event/common/trace_event_common.h:312: #define TRACE_EVENT_INSTANT_WITH_TIMESTAMP(category_group, name, scope, \ On ...
5 years, 1 month ago (2015-11-17 10:53:48 UTC) #23
shatch
On 2015/11/17 10:53:48, gabadie wrote: > Thanks guys! :-) > > https://codereview.chromium.org/1410943005/diff/140001/base/trace_event/common/trace_event_common.h > File base/trace_event/common/trace_event_common.h ...
5 years, 1 month ago (2015-11-17 14:25:10 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410943005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410943005/200001
5 years, 1 month ago (2015-11-17 15:23:37 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/97108)
5 years, 1 month ago (2015-11-17 19:28:37 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410943005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410943005/200001
5 years, 1 month ago (2015-11-18 09:41:33 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/97624)
5 years, 1 month ago (2015-11-18 15:14:40 UTC) #33
gab
https://codereview.chromium.org/1410943005/diff/220001/components/startup_metric_utils/browser/startup_metric_utils.cc File components/startup_metric_utils/browser/startup_metric_utils.cc (right): https://codereview.chromium.org/1410943005/diff/220001/components/startup_metric_utils/browser/startup_metric_utils.cc#newcode441 components/startup_metric_utils/browser/startup_metric_utils.cc:441: TRACE_EVENT_INSTANT_WITH_TIMESTAMP0( Hmmm, why are these no longer in a ...
5 years, 1 month ago (2015-11-18 20:23:02 UTC) #34
gabadie
Brought back the helper method. :-) https://codereview.chromium.org/1410943005/diff/220001/components/startup_metric_utils/browser/startup_metric_utils.cc File components/startup_metric_utils/browser/startup_metric_utils.cc (right): https://codereview.chromium.org/1410943005/diff/220001/components/startup_metric_utils/browser/startup_metric_utils.cc#newcode441 components/startup_metric_utils/browser/startup_metric_utils.cc:441: TRACE_EVENT_INSTANT_WITH_TIMESTAMP0( On 2015/11/18 ...
5 years, 1 month ago (2015-11-19 09:54:25 UTC) #35
gab
re-lgtm
5 years, 1 month ago (2015-11-19 14:30:30 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410943005/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410943005/280001
5 years, 1 month ago (2015-11-19 15:45:32 UTC) #39
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 1 month ago (2015-11-19 16:00:39 UTC) #40
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 16:01:24 UTC) #41
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/4cec3b7462517d2b8911c131f33d141dd9bd25e0
Cr-Commit-Position: refs/heads/master@{#360592}

Powered by Google App Engine
This is Rietveld 408576698