diff options
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-28 15:34:49 +0000 |
---|---|---|
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-28 15:34:49 +0000 |
commit | ca529d303e50072aa25405c651b16f96b5b3fa4b (patch) | |
tree | 32ba9dd8ced02ba98a4ac128b98f605656ebd0e9 /bench/TextBench.cpp | |
parent | 8382394bf260af223d5217ff8c45961f149bf1cf (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/TextBench.cpp')
-rw-r--r-- | bench/TextBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/TextBench.cpp b/bench/TextBench.cpp index 3bcd336a28..e252ead4a3 100644 --- a/bench/TextBench.cpp +++ b/bench/TextBench.cpp @@ -44,7 +44,7 @@ class TextBench : public SkBenchmark { 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) { |