New issue
Advanced search Search tips

Issue 677299 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Add metrics (and possibly address) extension initialization cost

Project Member Reported by rdevlin....@chromium.org, Dec 28 2016

Issue description

Initializing an extension is a rather complex process, given the number of keys, handlers, etc we have.  It's also something that happens during startup of the browser, and during startup of any renderer process as well.  Unfortunately, we have no metrics indicating how long the process takes.  We should.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c9f9c596f4d35ec6d14ff78f8be7a08bfc989041

commit c9f9c596f4d35ec6d14ff78f8be7a08bfc989041
Author: rdevlin.cronin <rdevlin.cronin@chromium.org>
Date: Wed Jan 11 01:35:01 2017

[Extensions] Add metrics for extension initialization

Add a histogram to analyze extension initialization time.

BUG=677299

Review-Url: https://codereview.chromium.org/2607773003
Cr-Commit-Position: refs/heads/master@{#442760}

[modify] https://crrev.com/c9f9c596f4d35ec6d14ff78f8be7a08bfc989041/extensions/common/extension.cc
[modify] https://crrev.com/c9f9c596f4d35ec6d14ff78f8be7a08bfc989041/tools/metrics/histograms/histograms.xml

Cc: -catmulli...@chromium.org

Sign in to add a comment