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
993 stars 177 forks source link

使用python收集可以调节获取频率吗?感觉好慢 #140

Closed 986379041 closed 1 year ago

rafa0128 commented 1 year ago

多慢?不同指标的速度不一样的,如果是计算百分比的指标,一般都要2-3秒,因为要取间隔一秒两个值来计算,计算也得花1秒左右吧,有些指标不需要计算就特别快,还要取决你的电脑配置 image

image

986379041 commented 1 year ago

apm.py文件里的“time.sleep(1)”可以调整吗?这个如果去掉会有什么影响吗?但我感觉去掉之后的结果跟加上的结果差异比较大

rafa0128 commented 1 year ago

不可以,用来计算使用率的