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

Issue 1408483002: Add top-level async trace events for the main startup timings. (Closed)

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

Description

Add top-level async trace events for the main startup timings. Allows to quickly see core metrics at a glance of a startup trace. See SS in bug for an example. As an added bonus, this also makes startup traces correctly consider 0s as the process creation time (instead of the first tracing event which is a fair bit later in practice). BUG=542798 Committed: https://crrev.com/2074803ffea32a02ed40b7f1a79a432fe2dd3492 Cr-Commit-Position: refs/heads/master@{#354522}

Patch Set 1 #

Total comments: 2

Patch Set 2 : added TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -35 lines) Patch
M base/trace_event/trace_event_common.h View 2 chunks +12 lines, -0 lines 0 comments Download
M components/startup_metric_utils/startup_metric_utils.cc View 1 10 chunks +68 lines, -35 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
gab
Hey Simon, could you PTAL as a base/trace_event OWNER. In particular I'm curious whether my ...
5 years, 2 months ago (2015-10-13 19:09:24 UTC) #2
shatch
base/trace_event/trace_event_common.h lgtm
5 years, 2 months ago (2015-10-13 20:47:37 UTC) #3
gab
On 2015/10/13 20:47:37, shatch wrote: > base/trace_event/trace_event_common.h lgtm Did you also take a look at ...
5 years, 2 months ago (2015-10-14 00:35:02 UTC) #4
shatch
On 2015/10/14 00:35:02, gab wrote: > On 2015/10/13 20:47:37, shatch wrote: > > base/trace_event/trace_event_common.h lgtm ...
5 years, 2 months ago (2015-10-14 14:57:50 UTC) #5
gab
On 2015/10/14 14:57:50, shatch wrote: > On 2015/10/14 00:35:02, gab wrote: > > On 2015/10/13 ...
5 years, 2 months ago (2015-10-14 15:01:57 UTC) #7
nduca
lgtm
5 years, 2 months ago (2015-10-16 00:20:20 UTC) #9
nduca
https://codereview.chromium.org/1408483002/diff/1/components/startup_metric_utils/startup_metric_utils.cc File components/startup_metric_utils/startup_metric_utils.cc (right): https://codereview.chromium.org/1408483002/diff/1/components/startup_metric_utils/startup_metric_utils.cc#newcode261 components/startup_metric_utils/startup_metric_utils.cc:261: const base::TimeDelta delta_since_base = time_base - time; actually, now ...
5 years, 2 months ago (2015-10-16 00:22:49 UTC) #10
gab
Thanks, filed a bug and added TODO. https://codereview.chromium.org/1408483002/diff/1/components/startup_metric_utils/startup_metric_utils.cc File components/startup_metric_utils/startup_metric_utils.cc (right): https://codereview.chromium.org/1408483002/diff/1/components/startup_metric_utils/startup_metric_utils.cc#newcode261 components/startup_metric_utils/startup_metric_utils.cc:261: const base::TimeDelta ...
5 years, 2 months ago (2015-10-16 14:39:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408483002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408483002/20001
5 years, 2 months ago (2015-10-16 14:39:38 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-16 16:21:03 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-10-16 16:21:43 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2074803ffea32a02ed40b7f1a79a432fe2dd3492
Cr-Commit-Position: refs/heads/master@{#354522}

Powered by Google App Engine
This is Rietveld 408576698