aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/RectBench.cpp
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-28 15:34:49 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-28 15:34:49 +0000
commitca529d303e50072aa25405c651b16f96b5b3fa4b (patch)
tree32ba9dd8ced02ba98a4ac128b98f605656ebd0e9 /bench/RectBench.cpp
parent8382394bf260af223d5217ff8c45961f149bf1cf (diff)
In debug builds, only run each benchmark 1 time (test for assertion-breakage,
not performance). codereview.appspot.com/5314064/ git-svn-id: http://skia.googlecode.com/svn/trunk@2552 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/RectBench.cpp')
-rw-r--r--bench/RectBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/RectBench.cpp b/bench/RectBench.cpp
index 48937678f4..cef2e22d06 100644
--- a/bench/RectBench.cpp
+++ b/bench/RectBench.cpp
@@ -18,7 +18,7 @@ public:
enum {
W = 640,
H = 480,
- N = 300
+ N = SkBENCHLOOP(300)
};
SkRect fRects[N];
SkColor fColors[N];