O'Reilly logo

Learning Android Application Testing by Paul Blundell, Diego Torres Milano

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Performance tests in Android SDK

If the previous method of adding log statements does not suit you, there are different methods of getting performance test results from our application. This is known as profiling.

When running instrumented code (as with our Android instrumented test cases), there is no standard way of getting performance test results from an Android application, as the classes used by Android tests are hidden in the Android SDK and only available to system applications, that is, applications that are built as part of the main build or system image. This strategy is not available for us, so we are not digging deeper in that direction. Instead, we will focus on other available choices.

Launching the performance test

These tests are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required