summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/22/changes
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-07-10 10:55:49 -0700
committerJohn Reck <jreck@google.com>2015-07-10 10:58:46 -0700
commitc6024cdd3553760aa99bfbabecc6a3d8443f5c47 (patch)
treefafc91078ade70ee23f6d29978fe6b4a58dc5b14 /docs/html/sdk/api_diff/22/changes
parent476f7158222e49ec24a5fc08f0bbb33fb8ca10bf (diff)
JNI optimization tweaks to Paint high-frequency methods
Bug: 22378829 Use fast-jni for getFontMetrics, drops from 35us -> 30us Note the "heavy" part of the method, getMetricsInternal, is already called by other fast-jni methods. Use critical array access for getRunAdvance_* methods. This will avoid the copy and the access is appropriately scoped and fast enough to not significantly block the moving GC. Improves from 88us -> 79us on short text Change-Id: I7c1481c23f6dba3420fbcf48220f6335cf9f6d10
Diffstat (limited to 'docs/html/sdk/api_diff/22/changes')
0 files changed, 0 insertions, 0 deletions