rea-analysis-optimization
MOmorluto/rea485k7,690 new stars in the last 7 days
Triage clang optimization remarks (-Rpass, -Rpass-missed, opt-record YAML) while editing ripwire's OWN C++: 'loop not vectorized', 'will not be inlined' — worth a diff, or is LTO/PGO the real fix? Contributor-only: compiling this tool, never running it.
Routing: a measured slow operation, any codebase → ripwire-perf-target, FIRST; remarks are the second question. Maintenance risk / complexity → ripwire-fresh-eyes. The pass's full record:
docs/OPTREMARKS.md.
A remark is an observation, not a defect. The pass behind this skill read ~1.1 M remarks over src/; zero justified
a source edit, two justified a BUILD change (LTO, then PGO). Here the answer to a remark is far more often a flag than a
diff.
cmake -S . -B build_prof -DRIPWIRE_PROFILE=ON && cmake --build build_prof -j 6, then read the
hottest scopes. A remark in code that costs a millisecond is dismissible on arithmetic.scripts/optremarks.sh --passes 'inline|loop-vectorize|slp-vectorizer|licm|gvn|.*unswitch|loop-idiom'
then python3 scripts/optremarks.py --hot --top 40. Never in build/, never with a build type.optremarks-reference.md, Step 2).No profile showing the remark's code is hot → no diff. Run test/optremarkshotcheck.sh if you split or rename a hot
file.
optremarks-reference.md — profiling, collection, every remark class and its worth here, the measurement a fix must
survive, the anti-patterns the pass hit.
MOmorluto/rea485k7,690 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days