76a6cec97f48435863b6ab360e11f5da26d7956b |
01-Dec-2015 |
Paul Duffin <paulduffin@google.com> |
Switch to the latest version of Caliper Added an Android.mk file to core/tests/benchmarks to build the benchmarks against caliper-api-target to ensure that they build correctly. Changed the implementations to work with the new version of Caliper. Bug: 24848946 Change-Id: Ib28026816dbc5c1d54f65974f4a1abfee299c43f
arcelArrayBenchmark.java
arcelBenchmark.java
trictModeBenchmark.java
|
a2934d5ff0b5c4098408cd583c2c259edf37c118 |
14-Jun-2013 |
Jeff Sharkey <jsharkey@android.com> |
Cache AndroidBlockGuardPolicy to avoid allocation. Every incoming Binder call ends up triggering a BlockGuardPolicy update, which would thrash between new AndroidBlockGuardPolicy instances and BlockGuard.LAX_POLICY, causing GC churn. This change avoids the extra allocations by recycling a single AndroidBlockGuardPolicy in a ThreadLocal. Worst-case thrashing case is now 10% faster; from 7.46us to 6.65us. Bug: 9424568 Change-Id: I9c3b1c097a2aecc9b1f109a824cf3ea319fb3393
trictModeBenchmark.java
|
a197e37f7fc056f9d6db3ef24b5e6db9222e7b56 |
07-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Caliper benchmarks for Parcel. Bug: 6111276 Change-Id: I4b89e4c14d2dc20e71bbaed78f285e6d539a1f0f
arcelArrayBenchmark.java
arcelBenchmark.java
|