Commit beb71d55 authored by Wei Lee's avatar Wei Lee Committed by Commit Bot

CCA: Use same dimension for resolution info in perf metrics

Bug: 2087501
Test: None
Change-Id: I2756eb7aa09f3e1d6ab3f4c08a9da7d2d3a9f75b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097778
Commit-Queue: Wei Lee <wtlee@chromium.org>
Reviewed-by: default avatarKuo Jen Wei <inker@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749535}
parent 92671c7c
...@@ -156,7 +156,7 @@ function perfType(event, duration, extras = {}) { ...@@ -156,7 +156,7 @@ function perfType(event, duration, extras = {}) {
// Round the duration here since GA expects that the value is an integer. // Round the duration here since GA expects that the value is an integer.
// Reference: https://support.google.com/analytics/answer/1033068 // Reference: https://support.google.com/analytics/answer/1033068
.value(Math.round(duration)) .value(Math.round(duration))
.dimen(3, `${resolution}`); .dimen(10, `${resolution}`);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment