aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/ShapesBench.cpp
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-02-11 09:07:02 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-11 09:07:02 -0800
commitb8c97ba80be1276b79f18475600cee10c737cfbf (patch)
tree0d956a9960a9a7fe3b101fc07605d15952b38e99 /bench/ShapesBench.cpp
parentef02b24d1c19bebe77ed6f4d531e245db45551c5 (diff)
Further reduce the number of primitives in the donut tests. Avoids crashes on iOS.
Diffstat (limited to 'bench/ShapesBench.cpp')
-rw-r--r--bench/ShapesBench.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/bench/ShapesBench.cpp b/bench/ShapesBench.cpp
index 1a3702fb54..07f7d56656 100644
--- a/bench/ShapesBench.cpp
+++ b/bench/ShapesBench.cpp
@@ -276,13 +276,13 @@ DEF_BENCH(return new ShapesBench(ShapesBench::kMixed_ShapesType, ShapesBench::kN
// Donuts (small and large). These fall-back to path rendering due to non-orthogonal rotation
// making them quite slow. Thus, reduce the counts substantially:
DEF_BENCH(return new ShapesBench(ShapesBench::kRect_ShapesType, ShapesBench::kRect_ShapesType,
- 2000, SkISize::Make(32, 32), false);)
+ 500, SkISize::Make(32, 32), false);)
DEF_BENCH(return new ShapesBench(ShapesBench::kRRect_ShapesType, ShapesBench::kRRect_ShapesType,
- 2000, SkISize::Make(32, 32), false);)
+ 500, SkISize::Make(32, 32), false);)
DEF_BENCH(return new ShapesBench(ShapesBench::kRect_ShapesType, ShapesBench::kRect_ShapesType,
- 200, SkISize::Make(500, 500), false);)
+ 50, SkISize::Make(500, 500), false);)
DEF_BENCH(return new ShapesBench(ShapesBench::kRRect_ShapesType, ShapesBench::kRRect_ShapesType,
- 200, SkISize::Make(500, 500), false);)
+ 50, SkISize::Make(500, 500), false);)
#if ENABLE_COMMAND_LINE_SHAPES_BENCH
DEF_BENCH(return new ShapesBench;)