V1.1.10下载地址:sib下载地址
sib perfmon -f -j:以json格式化显示性能数据。
- C:\sonic-ios-bridge_1.1.10_windows_x86_64>sib perfmon -f -j
- {
- "GPUInfo": {
- "TilerUtilization": 14,
- "TimeStamp": 1662470461948736200,
- "DeviceUtilization": 14,
- "RendererUtilization": 14
- }
- }
- {
- "FPSInfo": {
- "FPS": 60,
- "TimeStamp": 1662470461948736200
- }
- }
- {
- "NetworkingInfo": {
- "RxBytes": 93,
- "RxPackets": 16798,
- "TxBytes": 76,
- "TxPackets": 11112,
- "TimeStamp": 1662470462396413600
- }
- }
- {
- "NetworkingInfo": {
- "RxBytes": 183,
- "RxPackets": 28131,
- "TxBytes": 133,
- "TxPackets": 19479,
- "TimeStamp": 1662470462410407100
- }
- }
- {
- "NetworkingInfo": {
- "RxBytes": 21,
- "RxPackets": 4699,
- "TxBytes": 32,
- "TxPackets": 8465,
- "TimeStamp": 1662470462412096000
- }
- }
- {
- "NetworkingInfo": {
- "RxBytes": 41,
- "RxPackets": 12332,
- "TxBytes": 49,
- "TxPackets": 13220,
- "TimeStamp": 1662470462413200700
- }
- }
- {
- "NetworkingInfo": {
- "RxBytes": 15,
- "RxPackets": 4038,
- "TxBytes": 16,
- "TxPackets": 1830,
- "TimeStamp": 1662470462416514100
- }
- }
- {
- "NetworkingInfo": {
- "RxBytes": 4,
- "RxPackets": 208,
- "TxBytes": 4,
- "TxPackets": 240,
- "TimeStamp": 1662470462417897400
- }
- }
- {
- "NetworkingInfo": {
- "RxBytes": 9,
- "RxPackets": 5877,
- "TxBytes": 14,
- "TxPackets": 7079,
- "TimeStamp": 1662470462418857400
- }
- }
- {
- "GPUInfo": {
- "TilerUtilization": 15,
- "TimeStamp": 1662470462968938100,
- "DeviceUtilization": 15,
- "RendererUtilization": 14
- }
- }
- {
- "FPSInfo": {
- "FPS": 59,
- "TimeStamp": 1662470462977804800
- }
- }
- {
- "MemoryInfo": {
- "AnonMemory": -1,
- "PhysMemory": -1,
- "Rss": -1,
- "Vss": -1,
- "TimeStamp": 1662470463319579400,
- "ProcessInfo": "invalid PID"
- }
- }
- {
- "CPUInfo": {
- "SystemCpuCount": 6,
- "TimeStamp": 1662470463319579400,
- "SystemCpuUsage": 258.1818181818182,
- "ProcessInfo": "invalid PID"
- }
- }
sib perfmon --cpu -f -j:以json格式化仅显示CPU性能数据。
sib perfmon --fps -f -j:以json格式化仅显示FPS性能数据。
sib perfmon --gpu -f -j:以json格式化仅显示GPU性能数据。
sib perfmon --mem -f -j:以json格式化仅显示内存性能数据。
sib perfmon --network -f -j:以json格式化仅显示网络上下行性能数据。
指定app性能数据获取,如获取京东app性能数据,建议通过应用pid获取。
获取cpu数据:sib perfmon -f -j -p 1009 --cpu
获取内存数据:sib perfmon -f -j -p 1009 --mem
获取FPS数据:sib perfmon -f -j -p 1009 --fps
获取网络上下行数据:sib perfmon -f -j -p 1009 --network
更多帮助请参考:Sonic - 开源云真机测试平台