From 9dc2713fc4a75e7fbee2f985057fde680a07c7f0 Mon Sep 17 00:00:00 2001 From: "tomhudson@google.com" Date: Thu, 13 Sep 2012 15:50:24 +0000 Subject: Let SkBenchmark classes specify that they do no rendering. Doing this gives us a 15-20% speedup in bench cycle time. Here again I'm just picking the easy targets. http://codereview.appspot.com/6500115/ git-svn-id: http://skia.googlecode.com/svn/trunk@5525 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/InterpBench.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'bench/InterpBench.cpp') diff --git a/bench/InterpBench.cpp b/bench/InterpBench.cpp index f8f463b1b5..b689c72fd9 100644 --- a/bench/InterpBench.cpp +++ b/bench/InterpBench.cpp @@ -20,6 +20,7 @@ public: fName.printf("interp_%s", name); fFx = 3.3f; fDx = 0.1257f; + fIsRendering = false; } virtual void performTest(int16_t dst[], float x, float dx, int count) = 0; -- cgit v1.2.3