Summary
Being able to measure performance is a simple yet critical feature in optimizations, and Android provides simple yet powerful tools to assist you. Traceview, whether it is used for Java or native tracing, is one of the most useful tools you will use, but remember that only actual measurements on a real device give you a definitive answer as Traceview disables the Dalvik Just-In-Time compiler. While considered quite trivial, these topics are important, and you should become comfortable with the various tools Android offers. You should also always check for new tools in new versions of the SDK that could improve your profiling, benchmarking, and debugging capabilities. Remember to first find where bottlenecks are before you start optimizing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access