John Reck
c6024cdd35
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
2015-07-10 10:58:46 -07:00
..
2015-06-04 14:57:06 -07:00
2015-03-13 08:05:07 -04:00
2014-11-21 10:15:08 -08:00
2015-01-30 09:05:11 -05:00
2015-01-30 09:05:11 -05:00
2015-06-06 04:23:45 +00:00
2015-05-27 16:29:17 -07:00
2015-05-06 15:30:16 -07:00
2015-04-10 13:35:27 -07:00
2015-05-04 16:05:12 -07:00
2015-01-29 11:25:55 -05:00
2014-12-18 14:12:27 -08:00
2015-03-06 18:42:15 +00:00
2015-03-12 19:51:57 +00:00
2014-11-21 10:15:08 -08:00
2015-03-16 11:31:38 -04:00
2015-03-12 19:51:57 +00:00
2015-06-06 04:23:45 +00:00
2015-06-06 04:23:45 +00:00
2015-01-15 14:16:46 -05:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:36:14 -08:00
2014-11-21 10:15:08 -08:00
2014-08-26 22:19:29 -07:00
2014-11-21 10:15:08 -08:00
2015-07-09 17:47:50 -07:00
2015-03-26 22:52:32 -07:00
2015-03-12 19:51:57 +00:00
2015-05-13 17:24:01 +00:00
2015-05-21 12:20:26 -04:00
2015-01-27 23:34:35 +00:00
2014-11-21 10:15:08 -08:00
2015-07-10 10:58:46 -07:00
2015-07-09 17:47:50 -07:00
2015-03-14 06:00:23 +00:00
2015-03-13 08:05:55 -04:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2015-01-29 11:25:55 -05:00
2015-01-06 21:41:35 +00:00
2015-03-06 18:42:15 +00:00
2014-11-21 10:15:08 -08:00
2015-06-17 11:56:43 -04:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00
2015-06-10 16:58:50 -07:00
2015-06-09 14:15:15 -07:00
2015-04-02 23:14:58 +00:00
2015-03-12 19:51:57 +00:00
2015-03-26 22:52:32 -07:00
2015-03-12 19:51:57 +00:00
2015-01-12 18:13:27 -05:00
2015-01-30 09:05:11 -05:00
2014-11-21 10:15:08 -08:00
2014-11-21 10:15:08 -08:00