24

我正在检查将大量内容加载到 Web 视图中的应用程序的能量分析。我受到以下仪表的欢迎。我看到能源影响很大,而且开销一直很高(屏幕截图中的 54%)。

能量计的开销统计数据是什么意思? 在此处输入图像描述

4

2 回答 2

27

Overhead, that's the amount of power that's needed to bring the hardware up to be able to do your work as well as put it back to sleep.

And overhead is the energy that is required to bring up the radios and all the other system hardware which is required for your application to perform work.

A case about considering that your application is also utilizing the networking component. Networking is going to bring up the radios which will require power for prolonged periods. So in this case you can try to optimize your networking utilization. Try to batch up all your networking activity within your application whenever possible so that it reduces the impact on the networking as well as the corresponding overhead which has resulted from it.

From WWDC's script https://developer.apple.com/videos/play/wwdc2017/238/

just search the key word "Overhead"

img

于 2018-05-21T06:19:47.390 回答
17

事实证明,正如预期的那样,我不得不向下滚动,开销是保持无线电/wifi 开启以执行网络请求的成本。

在此处输入图像描述

于 2015-09-21T15:13:33.413 回答