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

Issue 416273002: BSP Tree perf tests to match LayerSorter perf tests (Closed)

Created:
6 years, 5 months ago by troyhildebrandt
Modified:
6 years, 4 months ago
Reviewers:
Ian Vollick, enne (OOO)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

BSP Tree perf tests to match LayerSorter perf tests The BspTree perf tests should ideally perform equally or better than the current LayerSorter tests do in the same tests (i.e. "rubik" vs. "rubik"). Performance results on Z600: layer_sort_cubes= 3.547ms layer_sort_rubik= 0.634ms bsp_tree_cubes= 1.485ms bsp_tree_rubik= 0.136ms bsp_tree_cubes_2= 2.915ms (2x duplicated layers) bsp_tree_cubes_4= 5.667ms (4x duplicated layers) BUG=230833 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287182

Patch Set 1 #

Patch Set 2 : Small fix, compiles again. #

Patch Set 3 : Removed debug output. #

Patch Set 4 : Rebased with BSP patch #

Total comments: 10

Patch Set 5 : #

Total comments: 8

Patch Set 6 : Fixed up some #includes #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Patch Set 9 : Fixed BUILD.gn #

Patch Set 10 : Fixed unit test issue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -2 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M cc/base/math_util.h View 3 chunks +9 lines, -0 lines 0 comments Download
M cc/base/math_util.cc View 1 2 3 4 5 6 7 8 9 3 chunks +119 lines, -0 lines 0 comments Download
M cc/quads/draw_polygon.h View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M cc/quads/draw_polygon.cc View 1 2 3 4 5 6 2 chunks +27 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common_perftest.cc View 1 2 3 4 5 6 7 4 chunks +90 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
troyhildebrandt
6 years, 5 months ago (2014-07-25 00:24:51 UTC) #1
enne (OOO)
Can you upload a patch that doesn't contain the DrawPolygon changes? I am happy to ...
6 years, 4 months ago (2014-07-28 20:48:53 UTC) #2
enne (OOO)
https://codereview.chromium.org/416273002/diff/60001/cc/base/math_util.cc File cc/base/math_util.cc (right): https://codereview.chromium.org/416273002/diff/60001/cc/base/math_util.cc#newcode85 cc/base/math_util.cc:85: SkMScalar w = 0.01f; Just for the record (and ...
6 years, 4 months ago (2014-07-28 23:37:40 UTC) #3
troyhildebrandt
https://codereview.chromium.org/416273002/diff/60001/cc/base/math_util.cc File cc/base/math_util.cc (right): https://codereview.chromium.org/416273002/diff/60001/cc/base/math_util.cc#newcode85 cc/base/math_util.cc:85: SkMScalar w = 0.01f; On 2014/07/28 23:37:40, enne wrote: ...
6 years, 4 months ago (2014-07-29 19:57:17 UTC) #4
troyhildebrandt
6 years, 4 months ago (2014-07-30 18:13:20 UTC) #5
enne (OOO)
https://codereview.chromium.org/416273002/diff/80001/cc/quads/draw_polygon.cc File cc/quads/draw_polygon.cc (right): https://codereview.chromium.org/416273002/diff/80001/cc/quads/draw_polygon.cc#newcode57 cc/quads/draw_polygon.cc:57: : order_index_(draw_order_index), original_ref_(original_ref) { I think you need to ...
6 years, 4 months ago (2014-07-30 18:43:57 UTC) #6
troyhildebrandt
https://codereview.chromium.org/416273002/diff/80001/cc/quads/draw_polygon.cc File cc/quads/draw_polygon.cc (right): https://codereview.chromium.org/416273002/diff/80001/cc/quads/draw_polygon.cc#newcode57 cc/quads/draw_polygon.cc:57: : order_index_(draw_order_index), original_ref_(original_ref) { On 2014/07/30 18:43:56, enne wrote: ...
6 years, 4 months ago (2014-07-30 23:36:57 UTC) #7
enne (OOO)
lgtm, except for one small fix. Thanks for the performance numbers. I think in general ...
6 years, 4 months ago (2014-07-31 00:18:04 UTC) #8
troyhildebrandt
https://codereview.chromium.org/416273002/diff/130001/cc/trees/layer_tree_host_common_perftest.cc File cc/trees/layer_tree_host_common_perftest.cc (right): https://codereview.chromium.org/416273002/diff/130001/cc/trees/layer_tree_host_common_perftest.cc#newcode245 cc/trees/layer_tree_host_common_perftest.cc:245: gfx::RectF((*it)->bounds()), On 2014/07/31 00:18:04, enne wrote: > I lied. ...
6 years, 4 months ago (2014-07-31 18:32:38 UTC) #9
troyhildebrandt
The CQ bit was checked by thildebr@chromium.org
6 years, 4 months ago (2014-07-31 18:37:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thildebr@chromium.org/416273002/150001
6 years, 4 months ago (2014-07-31 18:39:28 UTC) #11
troyhildebrandt
The CQ bit was checked by thildebr@chromium.org
6 years, 4 months ago (2014-07-31 22:25:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thildebr@chromium.org/416273002/170001
6 years, 4 months ago (2014-07-31 22:27:11 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-01 04:28:53 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-01 05:01:42 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/2095)
6 years, 4 months ago (2014-08-01 05:01:42 UTC) #16
enne (OOO)
Looks like the cc_unittests issues are real, probably caused by the math_util changes. Can you ...
6 years, 4 months ago (2014-08-01 17:08:14 UTC) #17
troyhildebrandt
6 years, 4 months ago (2014-08-02 00:08:10 UTC) #18
troyhildebrandt
The CQ bit was checked by thildebr@chromium.org
6 years, 4 months ago (2014-08-02 00:08:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thildebr@chromium.org/416273002/190001
6 years, 4 months ago (2014-08-02 00:10:09 UTC) #20
enne (OOO)
I'm happy to not have to change that constant. :)
6 years, 4 months ago (2014-08-02 00:19:42 UTC) #21
enne (OOO)
Latest patch still lgtm.
6 years, 4 months ago (2014-08-02 00:19:57 UTC) #22
commit-bot: I haz the power
6 years, 4 months ago (2014-08-02 07:53:51 UTC) #23
Message was sent while issue was closed.
Change committed as 287182

Powered by Google App Engine
This is Rietveld 408576698