aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-06-15 08:56:38 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-15 08:56:38 -0700
commitc751ecb3681072fda53dd3cebeb2eb41fc73b314 (patch)
tree27833446a05b1010adae8ec24fd5064d78daf028 /bench
parentf5c633f95db6e15da6f443a4f49f534e01edb676 (diff)
When --mpd is true, run _mpd variants first, then non-mpd.
This makes it easier to benchmark _mpd variants in a profiler. E.g., <profiler> out/Release/nanobench --images --config 8888 --loops -1 --match sp_desk_nytimes BUG=skia: Review URL: https://codereview.chromium.org/1184673006
Diffstat (limited to 'bench')
-rw-r--r--bench/nanobench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 7f87f37928..b2b36fa6c7 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -583,10 +583,10 @@ public:
exit(1);
}
- fUseMPDs.push_back() = false;
if (FLAGS_mpd) {
fUseMPDs.push_back() = true;
}
+ fUseMPDs.push_back() = false;
// Prepare the images for decoding
for (int i = 0; i < FLAGS_images.count(); i++) {