XPerf
语言CExamples

cperf static ↔ `-O2` benches

这篇还没有中文,下面是英文原文。

bash packages/cperf/scripts/run-static-vs-o2.sh

Builds case1…case4, lints lint_probes/, writes TSV/JSONL under examples/bench/build/static-vs-o2/ (override with CPERF_BENCH_OUT).

Evidence JSONL harnesses (package gate)

bash packages/cperf/scripts/regen-evidence-cp001.sh
bash packages/cperf/scripts/regen-evidence-cp002.sh
bash packages/cperf/scripts/regen-evidence-cp003.sh
FileRule
cp001_malloc_vs_arena.ccp-alloc-hot
cp002_realloc_growth.ccp-realloc-grow-one
cp003_printf_hot.ccp-printf-hot
case{1,2,3,4}_*.ccorrelation suite (smell|clean modes)