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

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.

主站蜘蛛池模板: 鹰潭市| 山东省| 文成县| 东丰县| 丰都县| 武强县| 梧州市| 拉萨市| 奉新县| 芮城县| 叙永县| 蓝田县| 固安县| 江陵县| 岳池县| 富源县| 绥江县| 习水县| 桂平市| 于都县| 鹤峰县| 修武县| 嘉定区| 密云县| 孝义市| 平塘县| 涪陵区| 文登市| 东光县| 铜梁县| 勃利县| 海伦市| 霍城县| 潜江市| 平山县| 蒙山县| 晋州市| 阳新县| 阿巴嘎旗| 东安县| 宽甸|