O'Reilly logo

Android NDK Beginner's Guide by Sylvain Ratabouil

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 analysis

If debugging tools are still imperfect, I have to advise you that profiling tools are rather immature... when they even work! Actually, there is no real official support from Google for memory or performance profiler, except in the emulator. This may change soon or later. But right now, those who like to tweak code and analyse each instruction may starve. This is particularly true when developing with a non-developer or non-rooted phone.

Hopefully, a few solutions exist and some are coming. Let's cite the following one:

  • Valgrind: This is probably the most famous open source profiler which can monitor not only performance but also memory and cache usage. This utility is currently being ported to Android. With some tweaking, it ...

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