Code Monkey home page Code Monkey logo

smart-test-ti / solox Goto Github PK

View Code? Open in Web Editor NEW
899.0 899.0 154.0 239.9 MB

💯SoloX - Real-time collection tool for Android/iOS performance data.(Android性能测试android performance\iOS性能测试ios performance\移动端性能测试mobile performance\APP性能测试app performance\app性能测试工具)

Home Page: https://smart-test-ti.github.io/demo

License: MIT License

Python 40.00% HTML 44.32% JavaScript 15.61% Shell 0.01% Batchfile 0.02% VBScript 0.04%
android-performance battery cpu fps ios-performance jank memory network performance-testing

solox's People

Contributors

huangwei1024 avatar pactortester avatar rafa0128 avatar sc201204 avatar tianjigame avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

solox's Issues

Real time network sending speed and network receiving speed are very important

Real time network sending speed and network receiving speed are very important. These two data can let us know whether the user's network is stable and has great fluctuations. Real time data is more valuable than total data. Because the total data is only a result, and can not reflect the real network situation. No matter whether the network is stable or not, the trend of the total data has been growing upward. Even if the user network continues to fluctuate in a wide range, the total data has been growing, so we can't see any problems from the total data.

It is suggested to add the trend chart of real-time network sending speed and network receiving speed, which can reflect the real network situation.

20220802_231732

Example:

image

【BUG】CPU数据出现负数

测试机型:红米k50
系统版本:Android 12
测试APP: 斗鱼直播APP
测试环节:开播

异常现象:CPU数据出现负数,并且数值异常

异常截图:
image

还麻烦开发者大佬帮排查看看可能是什么原因,谢谢~

Requirements for creating an issue?(如何给SoloX提问题?不符合规范就直接关闭不解答了,还有麻烦仔细看完READEME再提问题)

Title:
【BUG】..... :The content of the bug (碰到什么BUG,一定要有平台、机型、app、日志等)
【Feature】....:The content of the feature (希望增加什么功能)
【QA】....: Not understanding the function (对功能不理解,需要答疑)

Note:If it is a bug, it must include platform, model, and app (必须说明这么运行的、平台、机型、app、日志等)

诚挚征集新功能

SoloX已经开发到一个比较成熟的阶段啦,个人想法有限,所以想征集一下大家的想法,结合大家的实际需求再继续丰富功能。

The network speed calculation of IOS is wrong.

The network speed calculation of IOS is wrong. It may be the unit conversion error. It is recommended to check the upload speed and download speed of IOS. I estimate that the data of Android is relatively normal, so referring to the data calculation method of Android may get the correct IOS network speed data.

20220806_014759
20220806_014721
20220806_014853

I think the network speed of IOS is completely inconsistent with the actual network speed

Based on long-term past experience, I think the network speed of IOS is completely inconsistent with the actual network speed, but the network data of Android should be accurate.

I verified Apple 6 and apple XR, and the network data collected were lost too much, which was inconsistent with the actual network speed.

It is recommended that IOS obtain the maximum real-time upload speed and download speed in the past second, or after collecting data points, recalculate the average network speed in the past one second, so as to reflect the particularity of IOS.

According to the observation in the past month, the real-time network data collection logic of IOS must be optimized, otherwise the real network conditions cannot be reflected and serious errors will be caused. The best method is to use the maximum speed / second ,or after collecting data points, recalculate the average network speed in the past one second.

It is suggested that the network data collection logic of Android also handles like this.

20220815_143215

20220815_143258

Android 使用提示 no found app process,不知道是不是我机型有问题

_20220824221117
不加 -ef ,不显示当前进程list
C:\Users\Administrator>adb -s 195 shell ps | findstr tv.danmaku.bili

C:\Users\Administrator>adb -s 195 shell ps
USER PID PPID VSZ RSS WCHAN ADDR S NAME
shell 20536 23106 2260928 3704 0 0 R ps

C:\Users\Administrator>adb -s 195 shell ps -ef| findstr tv.danmaku.bili
u0_a306 19253 859 14 21:53:06 ? 00:01:35 tv.danmaku.bili

FPS一直是1

请问FPS的值为什么一直是1呢,有没有遇到相问题的小伙伴啊

点亮Star⭐️

这个平台真的很棒,必须点亮星星,希望大佬尽快出电池数据→GPU数据→IOS设备接入

fps = apm.collectFps() # HZ 采集数据为0

       for line in results:
            if not isHaveFoundWindow:
                if "Window" in line and self.focus_window in line:
                    isHaveFoundWindow = True  修改为:
       for line in results:
            if not isHaveFoundWindow:
                if  self.focus_window in line:
                    isHaveFoundWindow = True 可以采集到数据,不过一直是60

The FPS real-time statistics of IOS is wrong

The FPS real-time statistics of IOS is wrong, because my app has been placed in the background and there is no operation, but solox has a very high FPS. It only counts the FPS of the current interface and does not count the FPS of a process.

20220808_172717

solox 1.0.4在windows上启动报错

C:>python -m solox
Traceback (most recent call last):
File "D:\environment\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\environment\python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\environment\python\lib\site-packages\solox_main
.py", line 4, in
from .view.apis import api
File "D:\environment\python\lib\site-packages\solox\view\apis.py", line 5, in
from public.apm import *
ModuleNotFoundError: No module named 'public'

It doesn't work on the secondary process

It just works on the main process, it doesn't work on the secondary process(subprocess), just like Wechat applet,maybe all of the data about the secondary process is wrong . so many apps have the secondary process now, it's better to support secondary process, it's better to show the total data of phone,so that we can avoid fatal mistakes.

20220713_233847

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.