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

Unified Diff: bench/ChartBench.cpp

Issue 23478013: Major bench refactoring. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: scroggo 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
Index: bench/ChartBench.cpp
diff --git a/bench/ChartBench.cpp b/bench/ChartBench.cpp
index 0a692cfc80ed549da8e72a5953ddffd38abbb221..46ff05619e2c3123a76ecc0aba121ea46c03c465 100644
--- a/bench/ChartBench.cpp
+++ b/bench/ChartBench.cpp
@@ -127,7 +127,7 @@ protected:
}
}
- for (int frame = 0; frame < kFramesPerRun; ++frame) {
+ for (int frame = 0; frame < this->getLoops(); ++frame) {
canvas->clear(0xFFE0F0E0);
@@ -183,8 +183,6 @@ private:
kNumGraphs = 5,
kPixelsPerTick = 3,
kShiftPerFrame = 1,
-
- kFramesPerRun = SkBENCHLOOP(5),
};
int fShift;
SkISize fSize;

Powered by Google App Engine
This is Rietveld 408576698