Skip to content

[perf-0] 建立 macOS 交互帧预算基线与 signpost 埋点 - #495

Merged
1lck merged 2 commits into
previewfrom
feat/perf-490
Sep 5, 2026
Merged

[perf-0] 建立 macOS 交互帧预算基线与 signpost 埋点#495
1lck merged 2 commits into
previewfrom
feat/perf-490

Conversation

@1lck

@1lck 1lck commented Sep 5, 2026

Copy link
Copy Markdown
Owner

概要

Refs #490
Refs #467

本 PR 先建立 macOS 性能基线设施,不修改正常产品行为,也不处理具体热路径优化。

已完成

  • 增加 editor.inputappmodel.relaysplit.dragsearch.everywhere signpost。
  • 增加 10 KiB、500 KiB、2 MiB 编辑器 fixture 定义和 T/N/D/S/Term/R 场景。
  • 增加 Release 基线脚本,支持三次运行、中位数、TSV 报告和交互场景手动采集。
  • 基线模式下关闭 FrameRateMonitor,避免每个 vsync 的 MainActor task 干扰测量。
  • 增加使用文档和定义测试。

验证

  • ./scripts/test-macos.sh --no-parallel
  • ./.agents/skills/write-stable-tests/scripts/test-stability-macos.sh -- --filter 'LithePerformanceBaselineTests'
  • ./scripts/verify-service-boundaries.sh
  • ./.agents/skills/write-stable-tests/scripts/verify-test-stability.sh
  • git diff --check
  • Release 基线脚本三次启动冒烟通过,已确认退出后没有残留 Lithe 进程。

当前边界

@1lck
1lck marked this pull request as ready for review September 5, 2026 05:58
@1lck
1lck merged commit 973df81 into preview Sep 5, 2026
11 checks passed
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