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

Issue 12475012: Run non-rendering benches in their own config. (Closed)

Created:
7 years, 9 months ago by bsalomon
Modified:
7 years, 9 months ago
CC:
skia-review_googlegroups.com, skiabot_google.com
Visibility:
Public.

Description

Run non-rendering benches in their own config. Currently benches that set fIsRendering = false are run as part of the first config run. This is problematic for several reasons. 1) Which config they are run as depends on the --config options passed to bench. If I run bench --config GPU --config 8888 then they will be run in the GPU config and not the 8888 config. 2) Their presence makes bench take longer to run when testing rendering changes or comparing one rendering config to another (e.g. GPU v 8888). This is especially true on Android. 3) When comparing runs of a single config across multiple bench runs (typically with code changes) it isn't obvious from the output which benchs to ignore because they say are listed under as being part of the config. This CL adds NONRENDERING as a config (open to name suggestions). Non-rendering tests are run in and only in the NONRENDERING config. Will this screw up our bench bots/scripts/graphs? If so I think we should change them since running non-rendering tests separately makes a lot more sense than the current madness. Committed: https://code.google.com/p/skia/source/detail?r=8174

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -70 lines) Patch
M bench/benchmain.cpp View 10 chunks +101 lines, -70 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
bsalomon
7 years, 9 months ago (2013-03-14 20:04:57 UTC) #1
benchen
Sounds to me that the changes to extra flags and multiple configs are mostly for ...
7 years, 9 months ago (2013-03-14 20:23:04 UTC) #2
bsalomon
On 2013/03/14 20:23:04, benchen wrote: > Sounds to me that the changes to extra flags ...
7 years, 9 months ago (2013-03-14 20:27:43 UTC) #3
benchen
Oh, so the config names will be different. If it's for microbenches and won't affect ...
7 years, 9 months ago (2013-03-14 20:37:50 UTC) #4
robertphillips
lgtm https://codereview.chromium.org/12475012/diff/1/bench/benchmain.cpp File bench/benchmain.cpp (right): https://codereview.chromium.org/12475012/diff/1/bench/benchmain.cpp#newcode331 bench/benchmain.cpp:331: static const int kConfigCount = SK_ARRAY_COUNT(gConfigs); size_t -> ...
7 years, 9 months ago (2013-03-14 21:13:51 UTC) #5
benchen
LGTM. Just double-checked bench_util.py: please make sure the new config names do not include empty ...
7 years, 9 months ago (2013-03-14 21:31:34 UTC) #6
borenet
Should we be running bench on the bots with any --config? Right now we aren't ...
7 years, 9 months ago (2013-03-14 21:33:25 UTC) #7
bsalomon
Committed patchset #1 manually as r8174 (presubmit successful).
7 years, 9 months ago (2013-03-15 15:42:24 UTC) #8
bsalomon
7 years, 9 months ago (2013-03-15 15:44:10 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/12475012/diff/1/bench/benchmain.cpp
File bench/benchmain.cpp (right):

https://codereview.chromium.org/12475012/diff/1/bench/benchmain.cpp#newcode331
bench/benchmain.cpp:331: static const int kConfigCount =
SK_ARRAY_COUNT(gConfigs);
On 2013/03/14 21:13:51, robertphillips wrote:
> size_t -> int? or kConfigCount -> size_t?

Done. (kConfigCount -> size_t).

Powered by Google App Engine
This is Rietveld 408576698