官术网_书友最值得收藏!

Performance profiling tools

Putting pixels on the screen involves four primary pieces of hardware: the CPU computes display lists, the GPU renders images to the display, the memory stores images and data, and the battery provides electrical power. Each of these pieces of hardware has constraints; pushing or exceeding those constraints causes your app to be slow, worsens the display performance, or exhausts the battery.

To discover what causes your specific performance problems, you need to take a look under the hood, use tools to collect data about your app's execution behavior, surface that data as lists and graphics, understand and analyze what you see, and improve your code.

Android Studio and your device provide profiling tools to record and visualize the rendering, computing, memory, and battery performance of your app.

主站蜘蛛池模板: 垣曲县| 赤水市| 建水县| 黄山市| 安陆市| 邹城市| 茌平县| 徐州市| 青河县| 会东县| 鹰潭市| 扎兰屯市| 平谷区| 华容县| 正蓝旗| 南宁市| 昌吉市| 永康市| 定结县| 侯马市| 雅安市| 麻江县| 大厂| 中牟县| 兴义市| 子长县| 昆山市| 峡江县| 阜阳市| 新宁县| 神农架林区| 固阳县| 黑山县| 庆安县| 武邑县| 牡丹江市| 雅江县| 浠水县| 兴安县| 开化县| 精河县|