aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/textbloblooper.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-04-09 14:05:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-09 14:05:17 -0700
commit9ff378b01be0b0a3fc35677a2155ba4ade286cc2 (patch)
tree2d9221ef31e3632dde74bda9a1023bc1ce71b27c /gm/textbloblooper.cpp
parenta1e41c6d9a2029eb836c6120bb154ccd25e1588d (diff)
Rewrite memset benches, then use results to add a small-N optimization.
The benches for N <= 10 get around 2x faster on my N7 and N9. I believe this is because of the reduced function-call-then-function-pointer-call overhead on the N7, and additionally because it seems autovectorization beats our NEON code for small N on the N9. My desktop is unchanged, though that's probably because N=10 lies well within a region where memset's performance is essentially constant: N=100 takes only about 2x as long as N=1 and N=10, which perform nearly identically. BUG=skia: Review URL: https://codereview.chromium.org/1073863002
Diffstat (limited to 'gm/textbloblooper.cpp')
0 files changed, 0 insertions, 0 deletions