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

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed)

Created:
4 years, 7 months ago by vmpstr
Modified:
4 years, 7 months ago
CC:
anandc+watch-blimp_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, dtrainor+watch-blimp_chromium.org, jam, jbauman+watch_chromium.org, jessicag+watch-blimp_chromium.org, kalyank, kinuko+watch, kmarshall+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nyquist+watch-blimp_chromium.org, piman+watch_chromium.org, sievers+watch_chromium.org, sriramsr+watch-blimp_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add fixed raster scale use counter histograms. This patch adds two new values for WebCore.FeatureObserver histogram: - FixedRasterScale_BlurryContent: this histogram records any time a layer without will change has a fixed raster scale and the scale does not match the ideal scale (ie, blurry content) - FixedRasterScale_PotentialPerformanceRegression: this histogram records any time we have a non-will change layer that has a fixed raster scale and it has attempted to change its scale 5 times out of the last 10 frames. R=danakj, chrishtr BUG=609276 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d6dce2606f1e2384484fc021cf926130bbd6840e Cr-Commit-Position: refs/heads/master@{#394526}

Patch Set 1 #

Patch Set 2 : +will-change #

Total comments: 10

Patch Set 3 : !willchange #

Total comments: 6

Patch Set 4 : #

Total comments: 8

Patch Set 5 : rebase #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 14

Patch Set 9 : rebase #

Patch Set 10 : review+fixup #

Total comments: 4

Patch Set 11 : review #

Total comments: 1

Patch Set 12 : rebase #

Patch Set 13 : rebase+fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -12 lines) Patch
M blimp/client/feature/compositor/blimp_compositor.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M cc/blink/web_layer_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/blink/web_layer_impl.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -0 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +14 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +14 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 10 3 chunks +13 lines, -0 lines 0 comments Download
M cc/proto/begin_main_frame_and_commit_state.proto View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M cc/proto/layer.proto View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -4 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_client.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 4 chunks +18 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +15 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_remote_server.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M cc/trees/proxy_common.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -3 lines 0 comments Download
M cc/trees/proxy_common.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -2 lines 0 comments Download
M cc/trees/proxy_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M cc/trees/proxy_main.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor_delegate.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/fixed-raster-scale-use-counts.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +59 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/fixed-raster-scale-use-counts-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebWidget.h View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (14 generated)
vmpstr
Please take a look.
4 years, 7 months ago (2016-05-04 23:40:40 UTC) #4
danakj
> FixedRasterScale_BlurryContent: this histogram records any time a > will change layer has a fixed ...
4 years, 7 months ago (2016-05-04 23:42:50 UTC) #5
chrishtr
On 2016/05/04 at 23:42:50, danakj wrote: > > FixedRasterScale_BlurryContent: this histogram records any time a ...
4 years, 7 months ago (2016-05-04 23:43:32 UTC) #6
danakj
> FixedRasterScale_PotentialPerformanceRegression: this histogram > records any time we have a will change layer that ...
4 years, 7 months ago (2016-05-04 23:44:30 UTC) #7
vmpstr
On 2016/05/04 23:44:30, danakj wrote: > > FixedRasterScale_PotentialPerformanceRegression: this histogram > > records any time ...
4 years, 7 months ago (2016-05-04 23:53:24 UTC) #8
vmpstr
ptal
4 years, 7 months ago (2016-05-04 23:56:28 UTC) #10
danakj
https://codereview.chromium.org/1946403003/diff/20001/cc/blink/web_layer_impl.h File cc/blink/web_layer_impl.h (right): https://codereview.chromium.org/1946403003/diff/20001/cc/blink/web_layer_impl.h#newcode137 cc/blink/web_layer_impl.h:137: void setHasWillChangeTransformHint(bool has_will_change) override; group this with the rest, ...
4 years, 7 months ago (2016-05-05 00:09:49 UTC) #11
vmpstr
PTAL https://codereview.chromium.org/1946403003/diff/20001/cc/blink/web_layer_impl.h File cc/blink/web_layer_impl.h (right): https://codereview.chromium.org/1946403003/diff/20001/cc/blink/web_layer_impl.h#newcode137 cc/blink/web_layer_impl.h:137: void setHasWillChangeTransformHint(bool has_will_change) override; On 2016/05/05 00:09:49, danakj ...
4 years, 7 months ago (2016-05-05 01:33:51 UTC) #12
chrishtr
It should be easy to add a quick layout test for this that: 1. makes ...
4 years, 7 months ago (2016-05-05 20:33:07 UTC) #13
chrishtr
4 years, 7 months ago (2016-05-05 20:33:11 UTC) #14
vmpstr
PTAL, working on a layout test now. https://codereview.chromium.org/1946403003/diff/60001/blimp/client/feature/compositor/blimp_compositor.h File blimp/client/feature/compositor/blimp_compositor.h (right): https://codereview.chromium.org/1946403003/diff/60001/blimp/client/feature/compositor/blimp_compositor.h#newcode152 blimp/client/feature/compositor/blimp_compositor.h:152: void ReportFixedRasterScaleUseCounters( ...
4 years, 7 months ago (2016-05-06 19:53:48 UTC) #15
vmpstr
Added a layout test, please take a look.
4 years, 7 months ago (2016-05-06 22:31:15 UTC) #16
chrishtr
lgtm
4 years, 7 months ago (2016-05-06 23:01:41 UTC) #17
danakj
https://codereview.chromium.org/1946403003/diff/140001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/1946403003/diff/140001/cc/layers/layer.cc#newcode1418 cc/layers/layer.cc:1418: base->set_has_will_change_transform_hint(has_will_change_transform_hint_); move this up with the other calls to ...
4 years, 7 months ago (2016-05-10 22:05:30 UTC) #18
vmpstr
PTAL https://codereview.chromium.org/1946403003/diff/140001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/1946403003/diff/140001/cc/layers/layer.cc#newcode1418 cc/layers/layer.cc:1418: base->set_has_will_change_transform_hint(has_will_change_transform_hint_); On 2016/05/10 22:05:30, danakj wrote: > move ...
4 years, 7 months ago (2016-05-13 00:13:35 UTC) #19
danakj
LGTM https://codereview.chromium.org/1946403003/diff/180001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/1946403003/diff/180001/cc/layers/picture_layer_impl.cc#newcode443 cc/layers/picture_layer_impl.cc:443: std::numeric_limits<float>::epsilon()) { Why? https://codereview.chromium.org/1946403003/diff/180001/cc/trees/proxy_common.cc File cc/trees/proxy_common.cc (right): https://codereview.chromium.org/1946403003/diff/180001/cc/trees/proxy_common.cc#newcode13 ...
4 years, 7 months ago (2016-05-13 20:41:48 UTC) #20
vmpstr
https://codereview.chromium.org/1946403003/diff/180001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/1946403003/diff/180001/cc/layers/picture_layer_impl.cc#newcode443 cc/layers/picture_layer_impl.cc:443: std::numeric_limits<float>::epsilon()) { On 2016/05/13 20:41:47, danakj wrote: > Why? ...
4 years, 7 months ago (2016-05-13 21:17:10 UTC) #21
vmpstr
Adding owners: +piman for content +esprehn for webkit +isherman for histograms Please take a look.
4 years, 7 months ago (2016-05-13 21:19:14 UTC) #23
chrishtr
I'm a WebKit owner, no additional approvals needed.
4 years, 7 months ago (2016-05-14 08:14:40 UTC) #24
esprehn
lgtm, but please note that this is not really what we're trying to do with ...
4 years, 7 months ago (2016-05-16 04:59:24 UTC) #25
piman
lgtm
4 years, 7 months ago (2016-05-16 17:43:13 UTC) #26
danakj
On Sun, May 15, 2016 at 9:59 PM, <esprehn@chromium.org> wrote: > lgtm, but please note ...
4 years, 7 months ago (2016-05-16 18:27:11 UTC) #27
danakj
On Sun, May 15, 2016 at 9:59 PM, <esprehn@chromium.org> wrote: > lgtm, but please note ...
4 years, 7 months ago (2016-05-16 18:27:11 UTC) #28
vmpstr
+asvitkine@ for histograms +nyquist@ for blimp
4 years, 7 months ago (2016-05-16 18:37:06 UTC) #30
Alexei Svitkine (slow)
histograms lgtm
4 years, 7 months ago (2016-05-16 18:48:01 UTC) #31
nyquist
blimp lgtm
4 years, 7 months ago (2016-05-16 21:16:55 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946403003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946403003/220001
4 years, 7 months ago (2016-05-18 18:27:49 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/68226)
4 years, 7 months ago (2016-05-18 18:42:42 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946403003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946403003/240001
4 years, 7 months ago (2016-05-18 18:55:12 UTC) #41
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 7 months ago (2016-05-18 20:19:19 UTC) #43
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 20:21:32 UTC) #45
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/d6dce2606f1e2384484fc021cf926130bbd6840e
Cr-Commit-Position: refs/heads/master@{#394526}

Powered by Google App Engine
This is Rietveld 408576698