Repository navigation
test: measure report integrity cost and preserve mutation guards - #247
Merged
Merged
Conversation
Closed
Owner
Author
codeasier
marked this pull request as ready for review
October 11, 2026 05:47
codeasier
added a commit
that referenced
this pull request
Oct 11, 2026
This was referenced Oct 11, 2026
Closed
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.
范围和结论
Refs #238;本 PR 不是减少扫描的性能修复,不关闭 #238。只新增报告级计量/故障回归和中英文成本说明,零产品 src 修改。保留 strong 的所有现有检查点,不把默认校验降为 inode/size/mtime,也不把顺序逐片复制当成目录原子快照。
实测正常 report:cold 4(B+M)、warm 3(B+M);无峰值分支 cold 3(B+M)、warm 2(B+M)。B 为全部成员字节、M 为manifest字节;是完整 hash 的逻辑读取量,不等于物理磁盘I/O或耗时。
原生稀疏空范围真实可达;compat无峰值使用明确标注的结果分支注入,仍运行真实inspect/validator/guard/hash,不冒充合法兼容产物的空峰值。
验证
基线 main
ffa71df0ddf0fb5f17a904f4092898a27287d21e;审核 tree8eb7a841fd35fd0f0e836b8e3bc49283ce2c49c4。进一步减少整遍校验需要证明仍保留当前拒绝源目录中途变更的合同,或另行明确批准不同的快照/不可变语义。本轮不作未经验证的提速承诺。保留草稿。