Merged
Conversation
…tion and throttled rendering
lzy98276
approved these changes
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
本次改动主要围绕启动速度、页面延迟加载和历史记录相关性能进行优化,同时修复了延迟加载过程中引入的几个界面回归问题。
在不改变现有 JSON 数据存储方式、目录结构、字段结构和外部页面协议的前提下,减少了重复计算、重复读写和不必要的启动阶段调度,提升了冷启动和首次进入页面时的响应速度。
主要改动
1. 点名历史保存链路优化
2. 点名历史页刷新链路优化
3. 抽奖历史页刷新链路优化
4. 主窗口按需建页优化
5. 页面模板延迟加载优化
6. 启动初始化链路优化
AppInitializer中字体、主题、主题色、重启记录清理和主窗口创建的调度入口。QTimer.singleShot(...)串联。7. 回归修复
ruff format触发的格式化修复,确保 CI 的pre-commit --all-files通过。验证情况
pre-commit。pre-commit --all-files并通过。compileall校验。兼容性说明