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

Issue 996013004: Add metric measuring Feature Provider Static() length in the browser process. (Closed)

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

Description

Add metric measuring Feature Provider Static() length in the browser process. We are investigating the cost of ExtensionService::Init(), and want to see the effect of this static initialization, specifically in the browser process which affects startup. BUG=454789 Committed: https://crrev.com/fca0f4dc562018d756a160d40aff6eda9629fdfb Cr-Commit-Position: refs/heads/master@{#320668}

Patch Set 1 #

Total comments: 10

Patch Set 2 : remove typo #

Patch Set 3 : longer comment #

Total comments: 4

Patch Set 4 : ilya comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M chrome/browser/extensions/extension_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/features/feature_provider.cc View 1 2 3 3 chunks +22 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
rkaplow
asvitkine@chromium.org: Please review changes in metrics kalman@chromium.org: Please review changes in extensions/ I realize it's ...
5 years, 9 months ago (2015-03-13 18:28:17 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc File extensions/common/features/feature_provider.cc (right): https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc#newcode35 extensions/common/features/feature_provider.cc:35: TRACE_EVENT0("startup", "extensions::FeatureProvider::Static"); What does "startup" mean? https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc#newcode52 extensions/common/features/feature_provider.cc:52: // ...
5 years, 9 months ago (2015-03-13 19:08:05 UTC) #3
rkaplow
https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc File extensions/common/features/feature_provider.cc (right): https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc#newcode35 extensions/common/features/feature_provider.cc:35: TRACE_EVENT0("startup", "extensions::FeatureProvider::Static"); On 2015/03/13 19:08:05, kalman wrote: > What ...
5 years, 9 months ago (2015-03-13 19:19:15 UTC) #4
robliao
On 2015/03/13 19:19:15, rkaplow wrote: > https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc > File extensions/common/features/feature_provider.cc (right): > > https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc#newcode35 > ...
5 years, 9 months ago (2015-03-13 19:21:10 UTC) #5
robliao
https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc File extensions/common/features/feature_provider.cc (right): https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc#newcode1 extensions/common/features/feature_provider.cc:1: BB// Copyright 2013 The Chromium Authors. All rights reserved. ...
5 years, 9 months ago (2015-03-13 19:21:19 UTC) #7
rkaplow
On 2015/03/13 19:21:19, robliao wrote: > https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc > File extensions/common/features/feature_provider.cc (right): > > https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc#newcode1 > ...
5 years, 9 months ago (2015-03-13 19:24:18 UTC) #8
not at google - send to devlin
lgtm https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc File extensions/common/features/feature_provider.cc (right): https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc#newcode35 extensions/common/features/feature_provider.cc:35: TRACE_EVENT0("startup", "extensions::FeatureProvider::Static"); On 2015/03/13 19:19:15, rkaplow wrote: > ...
5 years, 9 months ago (2015-03-13 19:25:21 UTC) #9
rkaplow
https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc File extensions/common/features/feature_provider.cc (right): https://codereview.chromium.org/996013004/diff/1/extensions/common/features/feature_provider.cc#newcode1 extensions/common/features/feature_provider.cc:1: BB// Copyright 2013 The Chromium Authors. All rights reserved. ...
5 years, 9 months ago (2015-03-13 19:42:48 UTC) #10
rkaplow
Adding ilya in case he catches it before the weekend as asvitkine is OOO
5 years, 9 months ago (2015-03-13 20:50:17 UTC) #12
Ilya Sherman
LGTM % nits. It would be great if you could also expand the CL description ...
5 years, 9 months ago (2015-03-13 22:25:18 UTC) #13
rkaplow
Thanks. Updated the description. https://codereview.chromium.org/996013004/diff/40001/extensions/common/features/feature_provider.cc File extensions/common/features/feature_provider.cc (right): https://codereview.chromium.org/996013004/diff/40001/extensions/common/features/feature_provider.cc#newcode57 extensions/common/features/feature_provider.cc:57: if (process_type == "") { ...
5 years, 9 months ago (2015-03-14 19:16:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/996013004/60001
5 years, 9 months ago (2015-03-14 19:19:23 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-14 21:41:08 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-14 21:42:08 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fca0f4dc562018d756a160d40aff6eda9629fdfb
Cr-Commit-Position: refs/heads/master@{#320668}

Powered by Google App Engine
This is Rietveld 408576698