|
|
DescriptionSpecify bench_type & source_type for image benches
This will allow us to use perf filtering for comparing SkImageDecoder
to SkCodec.
BUG=skia:3418
Committed: https://skia.googlesource.com/skia/+/303fa350125f372bbfc29bec1235885493dab9b4
Patch Set 1 #
Total comments: 6
Patch Set 2 : "codec" -> "skcodec" #Messages
Total messages: 17 (5 generated)
scroggo@google.com changed reviewers: + msarett@google.com, mtklein@google.com
lgtm https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp File bench/nanobench.cpp (right): https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp#newcode873 bench/nanobench.cpp:873: fBenchType = useCodec ? "codec" : "skimagedecoder"; I take it the subset-ness of these benches is distinguishable some other way, like name?
https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp File bench/nanobench.cpp (right): https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp#newcode873 bench/nanobench.cpp:873: fBenchType = useCodec ? "codec" : "skimagedecoder"; On 2015/10/05 15:40:01, mtklein wrote: > I take it the subset-ness of these benches is distinguishable some other way, > like name? Yes. Come to think of it, we also distinguish codec vs imagedecoder by name. I know that with DM we deliberately use the same name for both, so that Gold lets us compare the two easily. Should we be doing the same thing here?
https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp File bench/nanobench.cpp (right): https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp#newcode794 bench/nanobench.cpp:794: fSourceType = "image"; nit: Can we use skcodec vs skimagedecoder or codec vs imagedecoder? https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp#newcode873 bench/nanobench.cpp:873: fBenchType = useCodec ? "codec" : "skimagedecoder"; On 2015/10/05 15:43:19, scroggo wrote: > On 2015/10/05 15:40:01, mtklein wrote: > > I take it the subset-ness of these benches is distinguishable some other way, > > like name? > > Yes. Come to think of it, we also distinguish codec vs imagedecoder by name. I > know that with DM we deliberately use the same name for both, so that Gold lets > us compare the two easily. Should we be doing the same thing here? Good question
You can plot anything you want on the same chart. I'd just try landing something like this and see if you find it easy to filter down what you want in perf.skia.org.
https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp File bench/nanobench.cpp (right): https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp#newcode794 bench/nanobench.cpp:794: fSourceType = "image"; On 2015/10/05 15:45:20, msarett wrote: > nit: > > Can we use skcodec vs skimagedecoder or codec vs imagedecoder? Ah, you mean instead of "codec" vs "skimagedecoder" (which is on the next line)? sgtm
lgtm https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp File bench/nanobench.cpp (right): https://codereview.chromium.org/1387863002/diff/1/bench/nanobench.cpp#newcode794 bench/nanobench.cpp:794: fSourceType = "image"; On 2015/10/05 16:05:18, scroggo wrote: > On 2015/10/05 15:45:20, msarett wrote: > > nit: > > > > Can we use skcodec vs skimagedecoder or codec vs imagedecoder? > > Ah, you mean instead of "codec" vs "skimagedecoder" (which is on the next line)? > sgtm Yes!
The CQ bit was checked by scroggo@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from mtklein@google.com Link to the patchset: https://codereview.chromium.org/1387863002/#ps20001 (title: ""codec" -> "skcodec"")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387863002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387863002/20001
The CQ bit was unchecked by commit-bot@chromium.org
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...)
On 2015/10/05 16:17:49, commit-bot: I haz the power wrote: > 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...) The failure was due to the fact that we started running nanobench on the images. That breaks with or without this patch. I'm going to try to land this anyway, and independently fix the crashes (which are no longer crashing since Mike reverted the CL that started running nanobench on our images).
The CQ bit was checked by scroggo@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387863002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387863002/20001
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/303fa350125f372bbfc29bec1235885493dab9b4 |