New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 828610 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Task

Blocking:
issue 678288



Sign in to add a comment

Collect UMA info on variations seed load status & blocking time in WebView

Project Member Reported by paulmiller@chromium.org, Apr 3 2018

Issue description

WebView's variations seed loading code added in https://chromium-review.googlesource.com/c/chromium/src/+/954058 should be instrumented so we can see whether seed loading is successful and how long WebView startup was blocked waiting for loading to finish.
 
I think we'll also need to record whether we're running the experiment. Are we already doing it?
We should only log these metrics if variations is enabled. Experiment status as a separate histogram wouldn't allow us to split these metrics.
Blocking: 678288
Labels: -Type-Feature ReleaseBlock-Stable Type-Task
We want this for the experiment with AGSA in m67.
Project Member

Comment 4 by bugdroid1@chromium.org, Apr 27 2018

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

commit 58467fe35f0732961cf6cb0c4f39c9cb21da1515
Author: Paul Miller <paulmiller@google.com>
Date: Fri Apr 27 00:54:01 2018

Instrument variations seed loading in WebView

Variations.SeedLoadBlockingTime tells us how long WebView startup is
delayed waiting for the seed. This is less than the total time to load
the seed, because we block after loading has already started.

Variations.SeedLoadResult tells us whether the load was successful. Its
VariationsSeedLoadResult enum is extended to include failure modes for
the FutureTask that WebView uses to load the seed. WebView is still
using dummy seed files without actual seed data, so the enum's various
seed corruption values aren't yet applicable.

BUG= 828610 

Change-Id: If9af5a82cedf990cf670f6b0dcf123ac10ea69bb
Reviewed-on: https://chromium-review.googlesource.com/994253
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Commit-Queue: Paul Miller <paulmiller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#554240}
[modify] https://crrev.com/58467fe35f0732961cf6cb0c4f39c9cb21da1515/android_webview/BUILD.gn
[modify] https://crrev.com/58467fe35f0732961cf6cb0c4f39c9cb21da1515/android_webview/java/src/org/chromium/android_webview/VariationsSeedLoader.java
[modify] https://crrev.com/58467fe35f0732961cf6cb0c4f39c9cb21da1515/android_webview/javatests/src/org/chromium/android_webview/test/VariationsSeedLoaderTest.java
[modify] https://crrev.com/58467fe35f0732961cf6cb0c4f39c9cb21da1515/components/variations/BUILD.gn
[modify] https://crrev.com/58467fe35f0732961cf6cb0c4f39c9cb21da1515/components/variations/metrics.h
[modify] https://crrev.com/58467fe35f0732961cf6cb0c4f39c9cb21da1515/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/58467fe35f0732961cf6cb0c4f39c9cb21da1515/tools/metrics/histograms/histograms.xml

Labels: Merge-Request-67
Project Member

Comment 6 by sheriffbot@chromium.org, Apr 27 2018

Labels: -Merge-Request-67 Merge-Review-67 Hotlist-Merge-Review
This bug requires manual review: M67 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), kbleicher@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 7 by cmasso@google.com, May 1 2018

Labels: -Hotlist-Merge-Review -Merge-Review-67 Merge-Approved-67
Project Member

Comment 8 by sheriffbot@chromium.org, May 7 2018

Cc: cmasso@google.com
This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 9 by bugdroid1@chromium.org, May 8 2018

Labels: -merge-approved-67 merge-merged-3396
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/17ef7181e3d2e767d14d95b7c807b34e0929478f

commit 17ef7181e3d2e767d14d95b7c807b34e0929478f
Author: Paul Miller <paulmiller@google.com>
Date: Tue May 08 18:55:32 2018

Instrument variations seed loading in WebView

Variations.SeedLoadBlockingTime tells us how long WebView startup is
delayed waiting for the seed. This is less than the total time to load
the seed, because we block after loading has already started.

Variations.SeedLoadResult tells us whether the load was successful. Its
VariationsSeedLoadResult enum is extended to include failure modes for
the FutureTask that WebView uses to load the seed. WebView is still
using dummy seed files without actual seed data, so the enum's various
seed corruption values aren't yet applicable.

BUG= 828610 

Change-Id: If9af5a82cedf990cf670f6b0dcf123ac10ea69bb
Reviewed-on: https://chromium-review.googlesource.com/994253
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Commit-Queue: Paul Miller <paulmiller@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#554240}(cherry picked from commit 58467fe35f0732961cf6cb0c4f39c9cb21da1515)
Reviewed-on: https://chromium-review.googlesource.com/1048906
Reviewed-by: Paul Miller <paulmiller@chromium.org>
Cr-Commit-Position: refs/branch-heads/3396@{#525}
Cr-Branched-From: 9ef2aa869bc7bc0c089e255d698cca6e47d6b038-refs/heads/master@{#550428}
[modify] https://crrev.com/17ef7181e3d2e767d14d95b7c807b34e0929478f/android_webview/BUILD.gn
[modify] https://crrev.com/17ef7181e3d2e767d14d95b7c807b34e0929478f/android_webview/java/src/org/chromium/android_webview/VariationsSeedLoader.java
[modify] https://crrev.com/17ef7181e3d2e767d14d95b7c807b34e0929478f/android_webview/javatests/src/org/chromium/android_webview/test/VariationsSeedLoaderTest.java
[modify] https://crrev.com/17ef7181e3d2e767d14d95b7c807b34e0929478f/components/variations/BUILD.gn
[modify] https://crrev.com/17ef7181e3d2e767d14d95b7c807b34e0929478f/components/variations/metrics.h
[modify] https://crrev.com/17ef7181e3d2e767d14d95b7c807b34e0929478f/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/17ef7181e3d2e767d14d95b7c807b34e0929478f/tools/metrics/histograms/histograms.xml

Status: Fixed (was: Assigned)

Sign in to add a comment