Skip to content

docs: localize and split performance reports by CI run - #14

Merged
xiaoyumuxi merged 1 commit into
mainfrom
docs/performance-reports-by-run
Sep 14, 2026
Merged

xiaoyumuxi merged 1 commit into
mainfrom
docs/performance-reports-by-run

Conversation

@xiaoyumuxi

Copy link
Copy Markdown
Owner

目标

把性能报告改成全中文,并按每次 CI 的实际运行时间拆成独立 Markdown 文件,不再持续向 docs/PERFORMANCE.md 追加所有历史结果。

新的目录规则

  • docs/PERFORMANCE.md:只保留中文测试说明、基线、矩阵规则和报告命名约定。
  • docs/performance/YYYY-MM-DD/YYYY-MM-DD_HH-MM-SSZ_<short-sha>.md:每次 main CI 全绿后新建一份独立报告。
  • docs/performance/legacy/:保存早期没有可核实精确运行时间的数据,不伪造时间。

报告时间统一使用 UTC,取性能矩阵开始运行的时间。同一报告不会被后续 CI 覆盖。

中文化

性能矩阵报告中的标题、场景状态、矩阵维度、注册中心/协议/序列化器、网络环境、吞吐/延迟表头、Client/Server 指标和说明文字全部改为中文。技术标识如 grpc、protobuf、场景 slug 和单位保持原样。

历史数据迁移

CI 行为

PR CI 仍执行完整性能矩阵,但不会写仓库。只有 main push 且完整 CI Gate 成功后,Record Performance 才按本次运行时间生成新的独立 Markdown 文件。docs/performance/** 被 paths-ignore,避免机器人提交报告后再次触发 CI。

@xiaoyumuxi
xiaoyumuxi merged commit 9d96a45 into main Sep 14, 2026
6 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