aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SkRasterPipelineBench.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-02-27 09:39:38 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-27 15:11:35 +0000
commitcb79393e88ecfe2cc21d0f6c3bbea0436b0bacb7 (patch)
treea0aef7066d5f421d453755a34d8a9816644d1666 /bench/SkRasterPipelineBench.cpp
parent61b721c449d022cdadf56adf4ea1a0b7e2850f18 (diff)
Drop SkRasterPipelineBench N to 15.
This highlights overheads and instruction set switch costs. At time of writing on my HSW laptop, N = 16: 76ns N = 15: 291ns BUG=skia:6289 Change-Id: I01751e8f5ea6cf946e7710822d9bc742712553e9 Reviewed-on: https://skia-review.googlesource.com/8984 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'bench/SkRasterPipelineBench.cpp')
-rw-r--r--bench/SkRasterPipelineBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/SkRasterPipelineBench.cpp b/bench/SkRasterPipelineBench.cpp
index d911c5d7ad..0ae48ee15d 100644
--- a/bench/SkRasterPipelineBench.cpp
+++ b/bench/SkRasterPipelineBench.cpp
@@ -9,7 +9,7 @@
#include "SkOpts.h"
#include "SkRasterPipeline.h"
-static const int N = 1023;
+static const int N = 15;
static uint64_t dst[N]; // sRGB or F16
static uint32_t src[N]; // sRGB