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 is possible to make it work on a
developer or rooted phone in ArmV7 mode. It is one of the best hopes for Android.
Android-NDK-Profiler: This is a port of Gprof on Android. It is a simple and basic
profiler which works by instrumenting and sampling code at runtime. It is the
simplest solution to profile performance and does not require any specific hardware.
OProfile is a system-wide profiler which inserts its code in the system kernel (which
thus needs to be updated) to collect profiling data with a low overhead. It is more
complicated to install and requires a developer or rooted phone to work but works
quite well and does instrument code. It is a much better solution to profile code for
free if you have proper hardware at your disposal.
Debugging and Troubleshooting
The commercial development suite ARM DS-5 and its StreamLine performance
analyzer may become an interesting option.
Open GL ES Profilers from manufacturers: Adreno Profiler for Qualcomm, PerfHUD
ES for NVidia and PVRTune for PowerVR. These profilers are hardware-specific. The
choice depends on your phone. These tools are however essential to see what is
happening under the GLES hood.
We are not going to evoke the emulator profiler here because of its inability to emulate
http://code.google.com/p/android-ndk-profiler
https://code.google.com/p/vs-android/
本文探讨了在Android平台上优化应用性能和进行有效调试的方法,包括使用Valgrind、Android-NDK-Profiler和OProfile等工具进行内存、性能和代码分析。同时介绍了商业解决方案如ARMDS-5和OpenGLES特定制造商提供的硬件特定性能分析器,并强调了选择合适硬件对于高效调试的重要性。
2359

被折叠的 条评论
为什么被折叠?



