On-screen GPU profiling

Android 4.3 adds new developer options to help you analyze your app’s performance and pinpoint rendering issues on any device or emulator.
In the Profile GPU rendering option you can now visualize your app’s effective framerate on-screen, while the app is running. You can choose to display profiling data as on-screen bar or line graphs, with colors indicating time spent creating drawing commands (blue), issuing the commands (orange), and waiting for the commands to complete (yellow). The system updates the on-screen graphs continuously, displaying a graph for each visible Activity, including the navigation bar and notification bar.
A green line highlights the 60ms threshold for rendering operations, so you can assess the your app’s effective framerate relative to a 60 fps goal. If you see operations that cross the green line, you can analyze them further using Systrace and other tools.
转:http://developer.android.com/about/versions/jelly-bean.html#top
Android 4.3新增开发者选项,帮助分析应用性能并定位渲染问题。可在运行中可视化帧率,并通过颜色区分绘制命令创建、发出及完成等待时间。绿色线条标识60毫秒阈值,便于评估应用是否达到60fps目标。
1万+

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



