feat: vol6 性能卷 ch00 性能思维 + ch01 Benchmark 方法论#88
Merged
Conversation
ch00-performance-mindset(2 篇 + index): - efficiency≠performance 命题(vector vs set 实测 5×)、两条铁律、Amdahl - sanitizer 作为性能测量的可信度地基 ch01-benchmark-methodology(6 篇 + index,全卷锚点章): - 为什么 microbenchmark 会骗你(三骗,foo() DCE 实测) - 可信写法(DoNotOptimize 语义、GBench 实跑、BENCHMARK_ENABLE_TESTING 坑) - 16 条测量陷阱 + perf-env-check.sh 体检脚本 - 统计(中位数 / Mann-Whitney)、生产 telemetry + CI 变点检测、方法论参考卡 代码:vector_vs_set、push_bench(GBench FetchContent)、perf-env-check.sh 顶层 vol6 index 重写(去「待重写」+ ch00 / ch01 导航) README 翻译覆盖率随之更新(vol6 CN 17 篇,EN 待补)
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.
ch00-performance-mindset(2 篇 + index):
ch01-benchmark-methodology(6 篇 + index,全卷锚点章):
代码:vector_vs_set、push_bench(GBench FetchContent)、perf-env-check.sh 顶层 vol6 index 重写(去「待重写」+ ch00 / ch01 导航),README 翻译覆盖率随之更新(vol6 CN 17 篇,EN 待补)