smart-test-ti / SoloX

💯SoloX - Real-time collection tool for Android/iOS performance data.(Android性能测试android performance\iOS性能测试ios performance\移动端性能测试mobile performance\APP性能测试app performance\app性能测试工具)
https://smart-test-ti.github.io/solox
MIT License
994 stars 177 forks source link

The real-time network speed data of Android is also wrong #41

Closed LRF520 closed 2 years ago

LRF520 commented 2 years ago

The real-time network speed data of Android is also wrong. What is collected now is the real-time network speed of the whole mobile phone, not the real-time network speed of a certain process.

20220806_133934

rafa0128 commented 2 years ago

看代码方法目前应该是计算app每秒的损耗流量了,不是设备的

LRF520 commented 2 years ago

看代码方法目前应该是计算app每秒的损耗流量了,不是设备的

I'm sure that Android's statistics on the real-time network speed of a process are wrong. If I'm testing wechat or UC browser, I put wechat or UC browser in the background and they haven't downloaded anything. At this time, I open Speedtest to test the maximum download speed and upload speed of the mobile phone. At this time, what solox reads is the total network speed of the mobile phone, not the real-time network speed of wechat or UC browser.

The same is true for IOS.

I have changed three computers and mobile phones to verify this problem.

20220808_115303