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

Issue 2484743002: UMA metric for LayerUpdateTimes (Closed)

Created:
4 years, 1 month ago by majidvp
Modified:
3 years, 11 months ago
Reviewers:
flackr, ajuma, Ilya Sherman
CC:
asvitkine+watch_chromium.org, cc-bugs_chromium.org, chromium-reviews, weiliangc
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

UMA metric for LayerUpdateTimes We are interested to learn about correlation between number of layers and the cost of LayerUpdateTimes in actual sites to guide some optimization efforts. To do this, we collect stats on LayersUpdateTime but bucket that into several suffixed histograms to be able to relate it to number of layers. BUG=661741 Committed: https://crrev.com/61be4cf0015eb2c0fb50cd58de61939423eab618 Cr-Commit-Position: refs/heads/master@{#441076}

Patch Set 1 #

Patch Set 2 : UMA metric for LayerUpdateTimes and understand the impact of number of layers on it #

Total comments: 5

Patch Set 3 : address feedback #

Patch Set 4 : Add missing header #

Total comments: 2

Patch Set 5 : Add brower histograms & record in microseconds #

Total comments: 4

Patch Set 6 : address feedback #

Total comments: 2

Patch Set 7 : Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -0 lines) Patch
M cc/trees/layer_tree.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_in_process.cc View 1 2 3 4 5 2 chunks +29 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 3 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (39 generated)
majidvp
4 years, 1 month ago (2016-11-15 13:01:58 UTC) #11
majidvp
https://codereview.chromium.org/2484743002/diff/20001/cc/trees/layer_tree_host_in_process.cc File cc/trees/layer_tree_host_in_process.cc (right): https://codereview.chromium.org/2484743002/diff/20001/cc/trees/layer_tree_host_in_process.cc#newcode730 cc/trees/layer_tree_host_in_process.cc:730: std::min(static_cast<size_t>(400), layer_tree_->NumLayers()) / 50); In the current patch I ...
4 years, 1 month ago (2016-11-15 13:10:55 UTC) #12
flackr
https://codereview.chromium.org/2484743002/diff/20001/cc/trees/layer_tree_host_in_process.cc File cc/trees/layer_tree_host_in_process.cc (right): https://codereview.chromium.org/2484743002/diff/20001/cc/trees/layer_tree_host_in_process.cc#newcode730 cc/trees/layer_tree_host_in_process.cc:730: std::min(static_cast<size_t>(400), layer_tree_->NumLayers()) / 50); On 2016/11/15 at 13:10:55, majidvp ...
4 years, 1 month ago (2016-11-16 16:56:51 UTC) #14
majidvp
https://codereview.chromium.org/2484743002/diff/20001/cc/trees/layer_tree_host_in_process.cc File cc/trees/layer_tree_host_in_process.cc (right): https://codereview.chromium.org/2484743002/diff/20001/cc/trees/layer_tree_host_in_process.cc#newcode730 cc/trees/layer_tree_host_in_process.cc:730: std::min(static_cast<size_t>(400), layer_tree_->NumLayers()) / 50); On 2016/11/16 16:56:50, flackr wrote: ...
4 years ago (2016-12-02 20:03:31 UTC) #23
ajuma
Drive-by nit: https://codereview.chromium.org/2484743002/diff/60001/cc/trees/layer_tree_host_in_process.cc File cc/trees/layer_tree_host_in_process.cc (right): https://codereview.chromium.org/2484743002/diff/60001/cc/trees/layer_tree_host_in_process.cc#newcode612 cc/trees/layer_tree_host_in_process.cc:612: "Compositing.Renderer.LayersUpdateTime.%d", This is going to get called ...
4 years ago (2016-12-03 01:28:23 UTC) #25
majidvp
Addressed ajuma@ comment and also ensured we capture the times in microseconds resolution. flackr@ PTAL ...
4 years ago (2016-12-08 20:19:18 UTC) #30
flackr
LGTM with a couple nits. https://codereview.chromium.org/2484743002/diff/80001/cc/trees/layer_tree_host_in_process.cc File cc/trees/layer_tree_host_in_process.cc (right): https://codereview.chromium.org/2484743002/diff/80001/cc/trees/layer_tree_host_in_process.cc#newcode593 cc/trees/layer_tree_host_in_process.cc:593: else if (numLayers >= ...
4 years ago (2016-12-08 22:35:08 UTC) #31
ajuma
lgtm too
4 years ago (2016-12-09 00:03:40 UTC) #32
majidvp
https://codereview.chromium.org/2484743002/diff/80001/cc/trees/layer_tree_host_in_process.cc File cc/trees/layer_tree_host_in_process.cc (right): https://codereview.chromium.org/2484743002/diff/80001/cc/trees/layer_tree_host_in_process.cc#newcode593 cc/trees/layer_tree_host_in_process.cc:593: else if (numLayers >= 10 && numLayers < 30) ...
4 years ago (2016-12-19 20:39:34 UTC) #33
majidvp
+isherman@ please review histogram.xml changes.
4 years ago (2016-12-19 20:40:22 UTC) #35
Ilya Sherman
LGTM % nits: https://codereview.chromium.org/2484743002/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2484743002/diff/100001/tools/metrics/histograms/histograms.xml#newcode6585 tools/metrics/histograms/histograms.xml:6585: +<histogram name="Compositing.Browser.LayersUpdateTime" units="microseconds"> nit: Please add ...
4 years ago (2016-12-20 01:24:15 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2484743002/120001
4 years ago (2016-12-21 17:26:56 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_precise_blink_rel on master.tryserver.blink (JOB_FAILED, no build URL)
4 years ago (2016-12-21 17:28:47 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2484743002/120001
3 years, 11 months ago (2017-01-02 15:57:55 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_precise_blink_rel on master.tryserver.blink (JOB_FAILED, no build URL)
3 years, 11 months ago (2017-01-02 15:59:23 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2484743002/120001
3 years, 11 months ago (2017-01-02 18:41:29 UTC) #52
commit-bot: I haz the power
Committed patchset #7 (id:120001)
3 years, 11 months ago (2017-01-02 18:45:02 UTC) #55
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 18:46:57 UTC) #57
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/61be4cf0015eb2c0fb50cd58de61939423eab618
Cr-Commit-Position: refs/heads/master@{#441076}

Powered by Google App Engine
This is Rietveld 408576698