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

Issue 2932503003: Add ash perftest on background blur filter. (Closed)

Created:
3 years, 6 months ago by wutao
Modified:
3 years, 6 months ago
Reviewers:
danakj, reveman, oshima
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ash perftest on background blur filter. Add an ash perftest to evaluate the background blur filter efficiency. BUG=730841, 646062, 682082 TEST=perftest Review-Url: https://codereview.chromium.org/2932503003 Cr-Commit-Position: refs/heads/master@{#479797} Committed: https://chromium.googlesource.com/chromium/src/+/5c36dc747da0feb63a206edaf0dfc470471ade20

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add CompositorObserver::OnCompositingBeginMainFrame and fixed DEPS. #

Total comments: 16

Patch Set 3 : Fix for patch 2. #

Total comments: 10

Patch Set 4 : Fix nits in patch 3. #

Total comments: 8

Patch Set 5 : Fix nits in patch 4. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -0 lines) Patch
M ash/BUILD.gn View 1 1 chunk +23 lines, -0 lines 0 comments Download
A ash/perftests/DEPS View 1 1 chunk +5 lines, -0 lines 0 comments Download
A ash/perftests/ash_background_filter_blur_perftest.cc View 1 2 3 4 1 chunk +159 lines, -0 lines 0 comments Download
A ash/test/ash_perftests.cc View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (31 generated)
wutao
Hi reveman@, I wrote some perftest, please verify they are correct. ui::DrawWaiterForTest::WaitForCompositingEnded(compositor_) can make sure ...
3 years, 6 months ago (2017-06-07 23:41:30 UTC) #2
wutao
The tests failed on dependency check. I will fix in the next patch.
3 years, 6 months ago (2017-06-08 00:01:59 UTC) #7
reveman
this looks great! just one question/comment. https://codereview.chromium.org/2932503003/diff/1/ash/perftests/ash_background_filter_blur_perftest.cc File ash/perftests/ash_background_filter_blur_perftest.cc (right): https://codereview.chromium.org/2932503003/diff/1/ash/perftests/ash_background_filter_blur_perftest.cc#newcode79 ash/perftests/ash_background_filter_blur_perftest.cc:79: ui::DrawWaiterForTest::WaitForCompositingEnded(compositor_); Can we ...
3 years, 6 months ago (2017-06-12 20:13:17 UTC) #8
wutao
Hi reveman@, PTAL. Hi oshima@, please take a look of the files under ash/. Hi ...
3 years, 6 months ago (2017-06-13 00:24:59 UTC) #11
danakj
https://codereview.chromium.org/2932503003/diff/20001/ash/perftests/ash_background_filter_blur_perftest.cc File ash/perftests/ash_background_filter_blur_perftest.cc (right): https://codereview.chromium.org/2932503003/diff/20001/ash/perftests/ash_background_filter_blur_perftest.cc#newcode78 ash/perftests/ash_background_filter_blur_perftest.cc:78: compositor_->ScheduleFullRedraw(); Why this? https://codereview.chromium.org/2932503003/diff/20001/ash/perftests/ash_background_filter_blur_perftest.cc#newcode79 ash/perftests/ash_background_filter_blur_perftest.cc:79: ui::DrawWaiterForTest::WaitForBeginMainFrame(compositor_); Why not WaitForCompositingDidCommit?
3 years, 6 months ago (2017-06-13 15:57:43 UTC) #16
oshima
https://codereview.chromium.org/2932503003/diff/20001/ash/perftests/ash_background_filter_blur_perftest.cc File ash/perftests/ash_background_filter_blur_perftest.cc (right): https://codereview.chromium.org/2932503003/diff/20001/ash/perftests/ash_background_filter_blur_perftest.cc#newcode23 ash/perftests/ash_background_filter_blur_perftest.cc:23: std::unique_ptr<ui::Layer> CreateSolidColorLayer(SkColor color); new line https://codereview.chromium.org/2932503003/diff/20001/ash/perftests/ash_background_filter_blur_perftest.cc#newcode36 ash/perftests/ash_background_filter_blur_perftest.cc:36: ui::Layer* root_layer_; ...
3 years, 6 months ago (2017-06-13 17:24:08 UTC) #17
wutao
Hi danaki@, please look my reply and let me know what do you think. Another ...
3 years, 6 months ago (2017-06-13 19:32:49 UTC) #18
danakj
https://codereview.chromium.org/2932503003/diff/20001/ash/perftests/ash_background_filter_blur_perftest.cc File ash/perftests/ash_background_filter_blur_perftest.cc (right): https://codereview.chromium.org/2932503003/diff/20001/ash/perftests/ash_background_filter_blur_perftest.cc#newcode78 ash/perftests/ash_background_filter_blur_perftest.cc:78: compositor_->ScheduleFullRedraw(); On 2017/06/13 19:32:49, wutao wrote: > On 2017/06/13 ...
3 years, 6 months ago (2017-06-13 19:47:43 UTC) #19
wutao
Hi danakj@ and oshima@, PTAL. I reverted code to add new function in CompositorObserver and ...
3 years, 6 months ago (2017-06-13 20:59:55 UTC) #20
oshima
lgtm https://codereview.chromium.org/2932503003/diff/40001/ash/perftests/ash_background_filter_blur_perftest.cc File ash/perftests/ash_background_filter_blur_perftest.cc (right): https://codereview.chromium.org/2932503003/diff/40001/ash/perftests/ash_background_filter_blur_perftest.cc#newcode14 ash/perftests/ash_background_filter_blur_perftest.cc:14: class AshBackgroundFilterBlurPerfTest : public test::AshTestBase { nit: put ...
3 years, 6 months ago (2017-06-13 23:15:44 UTC) #25
danakj
https://codereview.chromium.org/2932503003/diff/40001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2932503003/diff/40001/ash/BUILD.gn#newcode1516 ash/BUILD.gn:1516: "test/ash_test_suite.cc", AshTestSuite sets up software GL (ie, OSMesa). Is ...
3 years, 6 months ago (2017-06-13 23:20:40 UTC) #26
wutao
Uploaded a new patch which will use hardware gpu. But at linux desktop, must set ...
3 years, 6 months ago (2017-06-15 00:35:16 UTC) #27
danakj
> TEST=perftest This field is meant as an explanation for QA folks to verify a ...
3 years, 6 months ago (2017-06-15 15:15:00 UTC) #32
danakj
LGTM w/ that
3 years, 6 months ago (2017-06-15 15:15:07 UTC) #33
wutao
https://codereview.chromium.org/2932503003/diff/60001/ash/perftests/ash_background_filter_blur_perftest.cc File ash/perftests/ash_background_filter_blur_perftest.cc (right): https://codereview.chromium.org/2932503003/diff/60001/ash/perftests/ash_background_filter_blur_perftest.cc#newcode16 ash/perftests/ash_background_filter_blur_perftest.cc:16: // TODO(wutao): At linux desktop, the tests only run ...
3 years, 6 months ago (2017-06-15 16:45:01 UTC) #36
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/2932503003/80001
3 years, 6 months ago (2017-06-15 19:45:01 UTC) #45
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 19:50:17 UTC) #48
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/5c36dc747da0feb63a206edaf0df...

Powered by Google App Engine
This is Rietveld 408576698