Turn down repeat count on ref counting and memory pool benches.
No reason these things need to run for 10s of ms.
http://codereview.appspot.com/6501122/
git-svn-id: http://skia.googlecode.com/svn/trunk@5524 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/GrMemoryPoolBench.cpp b/bench/GrMemoryPoolBench.cpp
index 861a43e..d9dc49d 100644
--- a/bench/GrMemoryPoolBench.cpp
+++ b/bench/GrMemoryPoolBench.cpp
@@ -35,7 +35,7 @@
*/
class GrMemoryPoolBenchStack : public SkBenchmark {
enum {
- N = SkBENCHLOOP(5 * (1 << 20)),
+ N = SkBENCHLOOP(1 * (1 << 20)),
};
public:
GrMemoryPoolBenchStack(void* param) : INHERITED(param) {
@@ -90,7 +90,7 @@
*/
class GrMemoryPoolBenchRandom : public SkBenchmark {
enum {
- N = SkBENCHLOOP(5 * (1 << 20)),
+ N = SkBENCHLOOP(1 * (1 << 20)),
};
public:
GrMemoryPoolBenchRandom(void* param) : INHERITED(param) {
@@ -126,7 +126,7 @@
*/
class GrMemoryPoolBenchQueue : public SkBenchmark {
enum {
- N = SkBENCHLOOP((1 << 10)),
+ N = SkBENCHLOOP((1 << 8)),
M = SkBENCHLOOP(4 * (1 << 10)),
};
public: