aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/Matrix44Bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/Matrix44Bench.cpp')
-rw-r--r--bench/Matrix44Bench.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/bench/Matrix44Bench.cpp b/bench/Matrix44Bench.cpp
index c3692889fc..b79233c89c 100644
--- a/bench/Matrix44Bench.cpp
+++ b/bench/Matrix44Bench.cpp
@@ -12,7 +12,6 @@
class Matrix44Bench : public SkBenchmark {
SkString fName;
- enum { N = 10000 };
public:
Matrix44Bench(void* param, const char name[]) : INHERITED(param) {
fName.printf("matrix44_%s", name);
@@ -29,8 +28,7 @@ protected:
}
virtual void onDraw(SkCanvas*) {
- int n = SkBENCHLOOP(N * this->mulLoopCount());
- for (int i = 0; i < n; i++) {
+ for (int i = 0; i < this->getLoops(); i++) {
this->performTest();
}
}