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

Unified Diff: bench/ImageDecodeBench.cpp

Issue 23478013: Major bench refactoring. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: merge with head agani Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/ImageCacheBench.cpp ('k') | bench/InterpBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/ImageDecodeBench.cpp
diff --git a/bench/ImageDecodeBench.cpp b/bench/ImageDecodeBench.cpp
index 1cb29b1f1e287daf5ec2fd6382d4825215d20be4..2e50ec50c4d999d6c5a49fe223a6a75a528e43bc 100644
--- a/bench/ImageDecodeBench.cpp
+++ b/bench/ImageDecodeBench.cpp
@@ -59,7 +59,7 @@ protected:
#endif
// Decode a bunch of times
SkBitmap bm;
- for (int i = 0; i < SkBENCHLOOP(1000); ++i) {
+ for (int i = 0; i < this->getLoops(); ++i) {
SkDEBUGCODE(bool success =) SkImageDecoder::DecodeStream(&fStream, &bm);
#ifdef SK_DEBUG
if (!success) {
« no previous file with comments | « bench/ImageCacheBench.cpp ('k') | bench/InterpBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698