docs: localize and split performance reports by CI run - #14
Merged
Merged
Conversation
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.
目标
把性能报告改成全中文,并按每次 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 和单位保持原样。历史数据迁移
2026-09-14 09:14:08 UTC的旧单基线报告拆到独立文件。2026-09-14 11:23:30 UTC生成的完整 15 场景矩阵迁移为独立中文报告。legacy/并明确说明。CI 行为
PR CI 仍执行完整性能矩阵,但不会写仓库。只有 main push 且完整 CI Gate 成功后,
Record Performance才按本次运行时间生成新的独立 Markdown 文件。docs/performance/**被paths-ignore,避免机器人提交报告后再次触发 CI。