aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/ios
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-04-11 19:41:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-11 19:41:48 -0700
commitcbc060a70007bcdcc180d74b552f30104c88a805 (patch)
tree8c1c9a9ca0796e27d1c8dc1e979acf522204dfd9 /platform_tools/ios
parent74b8d323323c8533e3e5cc7719e0bd127aacd829 (diff)
SkWStream::writeText inlined.
Motivation: This function is used throughout SkPDF. Note that the compiler can usually inline the result of strlen() for literal strings. Before: out/Release/nanobench -m WStreamWriteText -q Timer overhead: 24.2ns ! -> high variance, ? -> moderate variance micros bench 6.10 WStreamWriteText nonrendering After: out/Release/nanobench -m WStreamWriteText -q Timer overhead: 23.9ns ! -> high variance, ? -> moderate variance micros bench 2.51 WStreamWriteText nonrendering PDF runtime change: -0.8% ±0.04%. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1844343004 Review URL: https://codereview.chromium.org/1844343004
Diffstat (limited to 'platform_tools/ios')
0 files changed, 0 insertions, 0 deletions