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
diff --git a/bench/TextBench.cpp b/bench/TextBench.cpp
index 3bcd336..e252ead 100644
--- a/bench/TextBench.cpp
+++ b/bench/TextBench.cpp
@@ -44,7 +44,7 @@
SkString fText;
SkString fName;
FontQuality fFQ;
- enum { N = 800 };
+ enum { N = SkBENCHLOOP(800) };
public:
TextBench(void* param, const char text[], int ps,
SkColor color, FontQuality fq) : INHERITED(param) {