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

Side by Side Diff: dm/DM.cpp

Issue 918673002: Adding new benchmark to test image decoding performance. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added include Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bench/nanobench.cpp ('k') | gyp/bench.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "CrashHandler.h" 1 #include "CrashHandler.h"
2 #include "DMJsonWriter.h" 2 #include "DMJsonWriter.h"
3 #include "DMSrcSink.h" 3 #include "DMSrcSink.h"
4 #include "OverwriteLine.h" 4 #include "OverwriteLine.h"
5 #include "ProcStats.h" 5 #include "ProcStats.h"
6 #include "SkBBHFactory.h" 6 #include "SkBBHFactory.h"
7 #include "SkChecksum.h" 7 #include "SkChecksum.h"
8 #include "SkCommonFlags.h" 8 #include "SkCommonFlags.h"
9 #include "SkForceLinking.h" 9 #include "SkForceLinking.h"
10 #include "SkGraphics.h" 10 #include "SkGraphics.h"
11 #include "SkInstCnt.h" 11 #include "SkInstCnt.h"
12 #include "SkMD5.h" 12 #include "SkMD5.h"
13 #include "SkOSFile.h" 13 #include "SkOSFile.h"
14 #include "SkTDynamicHash.h" 14 #include "SkTDynamicHash.h"
15 #include "SkTaskGroup.h" 15 #include "SkTaskGroup.h"
16 #include "Test.h" 16 #include "Test.h"
17 #include "Timer.h" 17 #include "Timer.h"
18 18
19 DEFINE_string(images, "resources", "Images to decode.");
20 DEFINE_string(src, "tests gm skp image subset", "Source types to test."); 19 DEFINE_string(src, "tests gm skp image subset", "Source types to test.");
21 DEFINE_bool(nameByHash, false, 20 DEFINE_bool(nameByHash, false,
22 "If true, write to FLAGS_writePath[0]/<hash>.png instead of " 21 "If true, write to FLAGS_writePath[0]/<hash>.png instead of "
23 "to FLAGS_writePath[0]/<config>/<sourceType>/<name>.png"); 22 "to FLAGS_writePath[0]/<config>/<sourceType>/<name>.png");
24 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests."); 23 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests.");
25 DEFINE_string(matrix, "1 0 0 0 1 0 0 0 1", 24 DEFINE_string(matrix, "1 0 0 0 1 0 0 0 1",
26 "Matrix to apply when using 'matrix' in config."); 25 "Matrix to apply when using 'matrix' in config.");
27 DEFINE_bool(gpu_threading, false, "Allow GPU work to run on multiple threads?"); 26 DEFINE_bool(gpu_threading, false, "Allow GPU work to run on multiple threads?");
28 27
29 DEFINE_string(blacklist, "", 28 DEFINE_string(blacklist, "",
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 } 556 }
558 return 0; 557 return 0;
559 } 558 }
560 559
561 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) 560 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL)
562 int main(int argc, char** argv) { 561 int main(int argc, char** argv) {
563 SkCommandLineFlags::Parse(argc, argv); 562 SkCommandLineFlags::Parse(argc, argv);
564 return dm_main(); 563 return dm_main();
565 } 564 }
566 #endif 565 #endif
OLDNEW
« no previous file with comments | « bench/nanobench.cpp ('k') | gyp/bench.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698