From ca529d303e50072aa25405c651b16f96b5b3fa4b Mon Sep 17 00:00:00 2001 From: "tomhudson@google.com" Date: Fri, 28 Oct 2011 15:34:49 +0000 Subject: 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 --- bench/BlurBench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/BlurBench.cpp') diff --git a/bench/BlurBench.cpp b/bench/BlurBench.cpp index 666b26999c..1a69184dba 100644 --- a/bench/BlurBench.cpp +++ b/bench/BlurBench.cpp @@ -48,7 +48,7 @@ protected: paint.setAntiAlias(true); SkRandom rand; - for (int i = 0; i < 10; i++) { + for (int i = 0; i < SkBENCHLOOP(10); i++) { SkRect r = SkRect::MakeWH(rand.nextUScalar1() * 400, rand.nextUScalar1() * 400); r.offset(fRadius, fRadius); -- cgit v1.2.3