From c751ecb3681072fda53dd3cebeb2eb41fc73b314 Mon Sep 17 00:00:00 2001 From: mtklein Date: Mon, 15 Jun 2015 08:56:38 -0700 Subject: [PATCH] When --mpd is true, run _mpd variants first, then non-mpd. This makes it easier to benchmark _mpd variants in a profiler. E.g., out/Release/nanobench --images --config 8888 --loops -1 --match sp_desk_nytimes BUG=skia: Review URL: https://codereview.chromium.org/1184673006 --- bench/nanobench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {