Lagging issue in the interface of multi-instance scripts
Unfortunately, on our multi-instance script page, although the page transitions for the first script are smooth, there are lagging issues when switching to the second or subsequent script pages. Specifically:
- Switching between the four pages on the left for the first script is smooth.
- However, after switching to the second or subsequent script pages using the top navigation, switching the buttons and pages on the left results in noticeable lag.
https://github.com/user-attachments/assets/314a8887-dc26-4ed3-9127-063e7a3570dc
Observations from our testing:
- When running the script using Anaconda, the above issue does not occur. For example, using the following commands:
__CONDA_PATH__\Scripts\conda.exe run -n baas_39 --no-capture-output python __SCRIPT_PATH__\py\blue_archive_auto_script\window.py
or:
__CONDA_PATH__\envs\baas_env\python.exe __CONDA_PATH__
- When running the script in an environment created with Virtualenv, the lagging issue occurs. For example, using the following command:
__VIRTUALENV_PATH__\Scripts\python.exe __SCRIPT_PATH__\blue_archive_auto_script\window.py
Additionally, since the executable files we package are also created in a Virtualenv environment, they exhibit the same lagging behavior.
We speculate that this issue might be related to the memory allocated to the environment or perhaps optimizations at the lower levels of Conda that improve interface performance. Unfortunately, we currently lack the means to resolve this problem. Any assistance in solving this issue would be greatly appreciated.
Who may be familiar with the problem, I think: @Daodanfd5 @rainux
https://github.com/user-attachments/assets/3708c778-7796-4b5e-a96d-23729aef1093
It uses the latest release and new install. there is no lagging issue on my device, and the processor is Intel i5-12400 with internal graphics, it's not too high
使用ver 1.2.0 版本安装包后卡顿问题有所好转
使用ver 1.2.0 版本安装包后卡顿问题有所好转
你用自己电脑把那个installer.py打包一下试试?build.bat跑一下就能生成exe。我不清楚是不是不同电脑之间打包存在差异性?
使用ver 1.2.0 版本安装包后卡顿问题有所好转
你用自己电脑把那个installer.py打包一下试试?build.bat跑一下就能生成exe。我不清楚是不是不同电脑之间打包存在差异性?
github不允许上传exe文件所以我将后缀改成txt了
果然你这打包出来大小都不一样了,流畅程度没有变化吗
是的