Skip to content

[0146] 新建文档性能优化#3439

Open
da-liii wants to merge 7 commits into
mainfrom
da/0146/new_doc_perf
Open

[0146] 新建文档性能优化#3439
da-liii wants to merge 7 commits into
mainfrom
da/0146/new_doc_perf

Conversation

@da-liii
Copy link
Copy Markdown
Contributor

@da-liii da-liii commented May 20, 2026

Summary

  • 延迟加载图标栏,优化新建文档性能
  • 延迟加载不可见工具栏,减少无效 UI 初始化开销
  • 移除优化过程中引入的临时性能计时代码 (bench_start/bench_end)
  • 同步更新 devel/0146.md 任务文档

Test plan

  • 本地编译通过 (xmake b stem)
  • 新建文档响应速度提升

🤖 Generated with Claude Code

da-liii and others added 7 commits May 20, 2026 17:12
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 为 resume/menu_icons/get_menu_widget 添加 bench_start/bench_end 计时
- 实现工具栏 lazy load:menu_icons 检测可见性,不可见时保存到 pending
- set_icon_bar_flag 打开时自动补加载,避免默认隐藏的 main-icons 浪费 19ms

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant