Index: bench/ScalarBench.cpp |
diff --git a/bench/ScalarBench.cpp b/bench/ScalarBench.cpp |
index 21f9264e9cc00d2b0a53aa9bbe74c5fa23027f06..f1a9b9adeedf8dcdb8b87350839a409668b389d1 100644 |
--- a/bench/ScalarBench.cpp |
+++ b/bench/ScalarBench.cpp |
@@ -152,7 +152,9 @@ protected: |
void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
SkRect r; |
for (int i = 0; i < loops; ++i) { |
- r.set(fPts, PTS); |
+ for (int i = 0; i < 1000; ++i) { |
+ r.set(fPts, PTS); |
+ } |
} |
} |