WIP: perf: record scene interaction baseline and validate borrowed dictionary keys #6

Draft
codex-bot wants to merge 1 commits from codex/scene-performance into main
Collaborator

本次研究确认性能问题能分阶段优化;交付有实测收益的 Aster 键比较优化引用、可重复 release 基准及性能研究文档,不宣称达到稳定 60 FPS。

修改:src/runtime/endor_host/tests.rs 增加默认 ignored 的真实 scene-orbit 性能基准,3 次预热 / 30 次采样,均值/P50/P95,分开统计运行时更新、变化绘制与缓存绘制;docs/performance-study.md 记录对照与后续条件;vendor/aster 固定 fd247ac。

Apple M4 Pro / macOS 15.6,1024×800、2× 的世界 UI 更新均值 8.456→6.842 ms(约 -19%),P95 8.843→7.226 ms。绘制仍约 18.6 ms。面板纹理缓存实验收益约 1%,已撤回,未包含在本 PR。

验证:GUI 186 passed + 1 ignored(基准另行 release 执行),Clippy -D warnings、格式、差异空白检查通过。Aster 对象层通过、全工作区 Clippy / 格式通过;全工作区 3 个既有失败均已在原始实现复现,详见研究文档与 Aster PR。

运行基准:cargo test --release --locked scene_interaction_performance -- --ignored --nocapture --test-threads=1

依赖同属 Zayden-Jung 的 endorphin-aster-vm 的 codex/dict-key-study PR(提交 fd247ac),应先审阅 Aster,再审阅本 GUI 引用。保持 Draft:Aster 全工作区并非全绿,完整性能目标仍需相机更新专用路径、正确的源依赖失效、连续输入按帧合并,以及直接向窗口呈现的 GPU 合成。

基准不包含 OS 窗口呈现和 HTTP/硬件输入,未重打包原生应用。等待用户手动合并;bot 不合并、不直接推送 main。

本次研究确认性能问题能分阶段优化;交付有实测收益的 Aster 键比较优化引用、可重复 release 基准及性能研究文档,不宣称达到稳定 60 FPS。 修改:src/runtime/endor_host/tests.rs 增加默认 ignored 的真实 scene-orbit 性能基准,3 次预热 / 30 次采样,均值/P50/P95,分开统计运行时更新、变化绘制与缓存绘制;docs/performance-study.md 记录对照与后续条件;vendor/aster 固定 fd247ac。 Apple M4 Pro / macOS 15.6,1024×800、2× 的世界 UI 更新均值 8.456→6.842 ms(约 -19%),P95 8.843→7.226 ms。绘制仍约 18.6 ms。面板纹理缓存实验收益约 1%,已撤回,未包含在本 PR。 验证:GUI 186 passed + 1 ignored(基准另行 release 执行),Clippy -D warnings、格式、差异空白检查通过。Aster 对象层通过、全工作区 Clippy / 格式通过;全工作区 3 个既有失败均已在原始实现复现,详见研究文档与 Aster PR。 运行基准:cargo test --release --locked scene_interaction_performance -- --ignored --nocapture --test-threads=1 依赖同属 Zayden-Jung 的 endorphin-aster-vm 的 codex/dict-key-study PR(提交 fd247ac),应先审阅 Aster,再审阅本 GUI 引用。保持 Draft:Aster 全工作区并非全绿,完整性能目标仍需相机更新专用路径、正确的源依赖失效、连续输入按帧合并,以及直接向窗口呈现的 GPU 合成。 基准不包含 OS 窗口呈现和 HTTP/硬件输入,未重打包原生应用。等待用户手动合并;bot 不合并、不直接推送 main。
codex-bot added 1 commit 2026-11-11 07:50:49 +00:00
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin codex/scene-performance:codex/scene-performance
git checkout codex/scene-performance
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Zayden-Jung/endorphin-tessera-gui#6