English | 中文 | DocForAndroid
SoloX - Real-time collection tool for Android/iOS performance data.
We are committed to solving inefficient, cumbersome test execution, and our goal is Simple Test In SoloX!
1.Python:3.6+
2.pip3 install -U solox
notice: If Windows users need to test ios, install and start Itunes
python3 -m solox
python3 -m solox --host=0.0.0.0 --port=50003
from solox.public.apm import APM
# solox version >= 2.1.2
apm = APM(pkgName='com.bilibili.app.in',deviceId='ca6bd5a5',platform='Android')
# apm = APM(pkgName='com.bilibili.app.in', platform='iOS') only supports one device
cpu = apm.collectCpu() # %
memory = apm.collectMemory() # MB
flow = apm.collectFlow() # KB
fps = apm.collectFps() # HZ
battery = apm.collectBattery() # level:% temperature:°C
# solox version >= 2.1.5
macOS/Linux: nohup python3 -m solox &
Windows: start /min python3 -m solox &
http://{ip}:50003/apm/collect?platform=Android&deviceid=ca6bd5a5&pkgname=com.bilibili.app.in&apm_type=cpu
apm_type in ['cpu','memory','network','fps','battery']
- 2-devices: test the same app on two different phones
- 2-apps: test two different apps on two phones with the same configuration
- Gmail: rafacheninc@gmail.com