Add UMAs for v8::Context creation

Desktop / Chromium - Hitoshi Yoshida [chromium.org] - 10 August 2017 01:19 EDT

Adds UMAs to measure time spent to create each v8::Context instance. This UMA will be a metric to know if we have a place to optimize in LocalWindowProxy::Initialize(), but out of v8::Context creation.


Bug: 588893 Change-Id: I88e40b65317b508503272797e2c063b1c65bfd56 Reviewed-on: https://chromium-review.googlesource.com/601812 Commit-Queue: Hitoshi Yoshida

1272339 Add UMAs for v8::Context creation
.../Source/bindings/core/v8/LocalWindowProxy.cpp | 14 ++++++++++++--
tools/metrics/histograms/histograms.xml | 18 ++++++++++++++++++
2 files changed, 30 insertions(+), 2 deletions(-)

Upstream: git.chromium.org


  • Share