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

Issue 1497843003: add bench for sprite-like drawing w/ imagefilters (Closed)

Created:
5 years ago by reed1
Modified:
5 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

add bench for sprite-like drawing w/ imagefilters visualbench run on Mac Pro curr/maxrss loops min median mean max stddev samples config bench 96/96 MB 16 412µs 413µs 413µs 414µs 0% ▄▁█▅▅▅▅▆▅▃▅ gpu warmupbench 98/98 MB 4 1.86ms 1.86ms 1.86ms 1.86ms 0% ▁▂▇█▆▅▇▄▃▃▃ gpu image-filter-sprite-draw-image 100/100 MB 4 1.86ms 1.86ms 1.86ms 1.86ms 0% ▆▇▅▄▁▆▅█▅▄▅ gpu image-filter-sprite-draw-bitmap 100/100 MB 32 547µs 548µs 590µs 1.01ms 24% █▁▁▁▁▁▁▁▁▁▁ gpu image-filter-sprite-draw-sprite BUG=skia: Committed: https://skia.googlesource.com/skia/+/6f2753deee7b8cd03224e3df91dfea21bbeb9f7f

Patch Set 1 #

Total comments: 8

Patch Set 2 : fix no-gpu build #

Patch Set 3 : switch to much faster filter (to emphasize overhead) #

Total comments: 2

Patch Set 4 : fix comment #

Patch Set 5 : increase image size to make timing less sensitive to cache sizes etc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -1 line) Patch
M bench/ImageBench.cpp View 1 2 3 4 1 chunk +113 lines, -1 line 0 comments Download

Messages

Total messages: 33 (12 generated)
reed1
5 years ago (2015-12-03 19:02:03 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497843003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497843003/1
5 years ago (2015-12-03 19:02:15 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years ago (2015-12-03 19:02:16 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/4512)
5 years ago (2015-12-03 19:02:57 UTC) #7
Stephen White
See also https://codereview.chromium.org/1401173006/, if it gives you any ideas.
5 years ago (2015-12-03 19:21:30 UTC) #8
Stephen White
On 2015/12/03 19:21:30, Stephen White wrote: > See also https://codereview.chromium.org/1401173006/, if it gives you any ...
5 years ago (2015-12-03 19:25:59 UTC) #9
reed1
On 2015/12/03 19:21:30, Stephen White wrote: > See also https://codereview.chromium.org/1401173006/, if it gives you any ...
5 years ago (2015-12-03 19:27:23 UTC) #12
Stephen White
On 2015/12/03 19:27:23, reed1 wrote: > On 2015/12/03 19:21:30, Stephen White wrote: > > See ...
5 years ago (2015-12-03 19:28:06 UTC) #13
reed1
On 2015/12/03 19:27:23, reed1 wrote: > On 2015/12/03 19:21:30, Stephen White wrote: > > See ...
5 years ago (2015-12-03 19:29:13 UTC) #14
reed1
hehe, I see our comments are leap-frogging each other.
5 years ago (2015-12-03 19:30:09 UTC) #15
Stephen White
On 2015/12/03 19:29:13, reed1 wrote: > On 2015/12/03 19:27:23, reed1 wrote: > > On 2015/12/03 ...
5 years ago (2015-12-03 19:30:43 UTC) #16
robertphillips
https://codereview.chromium.org/1497843003/diff/1/bench/ImageBench.cpp File bench/ImageBench.cpp (right): https://codereview.chromium.org/1497843003/diff/1/bench/ImageBench.cpp#newcode84 bench/ImageBench.cpp:84: class ImageFilterSpriteBench : public Benchmark { Why do we ...
5 years ago (2015-12-03 19:30:56 UTC) #17
reed1
I agree that using a cheaper filter is a good idea. Even w/ blur, mine ...
5 years ago (2015-12-03 19:31:03 UTC) #18
reed1
https://codereview.chromium.org/1497843003/diff/1/bench/ImageBench.cpp File bench/ImageBench.cpp (right): https://codereview.chromium.org/1497843003/diff/1/bench/ImageBench.cpp#newcode84 bench/ImageBench.cpp:84: class ImageFilterSpriteBench : public Benchmark { On 2015/12/03 19:30:56, ...
5 years ago (2015-12-03 19:37:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497843003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497843003/40001
5 years ago (2015-12-03 19:37:26 UTC) #21
Stephen White
LGTM w/nit https://codereview.chromium.org/1497843003/diff/40001/bench/ImageBench.cpp File bench/ImageBench.cpp (right): https://codereview.chromium.org/1497843003/diff/40001/bench/ImageBench.cpp#newcode152 bench/ImageBench.cpp:152: // since the point of this bench ...
5 years ago (2015-12-03 19:41:41 UTC) #24
Stephen White
One final thing: I'd bump up the size of the image a bit. I'm a ...
5 years ago (2015-12-03 19:47:31 UTC) #25
reed1
On 2015/12/03 19:47:31, Stephen White wrote: > One final thing: I'd bump up the size ...
5 years ago (2015-12-03 19:49:24 UTC) #26
reed1
https://codereview.chromium.org/1497843003/diff/40001/bench/ImageBench.cpp File bench/ImageBench.cpp (right): https://codereview.chromium.org/1497843003/diff/40001/bench/ImageBench.cpp#newcode152 bench/ImageBench.cpp:152: // since the point of this bench is to ...
5 years ago (2015-12-03 19:50:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497843003/40002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497843003/40002
5 years ago (2015-12-03 19:51:01 UTC) #31
commit-bot: I haz the power
5 years ago (2015-12-03 20:57:01 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:40002) as
https://skia.googlesource.com/skia/+/6f2753deee7b8cd03224e3df91dfea21bbeb9f7f

Powered by Google App Engine
This is Rietveld 408576698