with one click
cmakefmt-tracing
Generate and interpret cmakefmt trace artifacts.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Generate and interpret cmakefmt trace artifacts.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Property-based testing in Rust with the proptest crate. Use when writing fuzz-like tests that generate arbitrary inputs, compose strategies, derive Arbitrary, configure shrinking, or debug test failures via persistence/replay.
Run Criterion benchmarks and detect performance regressions.
Based on SOC occupation classification
| name | cmakefmt-tracing |
| description | Generate and interpret cmakefmt trace artifacts. |
Quickstart for generating cmakefmt trace artifacts and getting useful signal from them fast.
Trace a single file:
cmakefmt \
--trace-output trace.json \
--trace-summary-output trace-summary.json \
CMakeLists.txt
Trace multiple files in one invocation:
cmakefmt \
--trace-output trace.json \
--trace-summary-output trace-summary.json \
--write \
path/to/A.cmake path/to/B.cmake
Optional: narrow emitted events with a custom filter:
cmakefmt \
--trace-output trace.json \
--trace-summary-output trace-summary.json \
--trace-filter 'cmakefmt=info,cmakefmt_cli=info' \
path/to/CMakeLists.txt
--trace-output <PATH>: Chrome trace JSON (timeline) at the provided path, e.g. trace.json.--trace-summary-output <PATH>: normalized aggregate summary JSON at the provided path, e.g. trace-summary.json.Both are per-invocation artifacts.
Start in this order:
timing.stages — which pipeline stage dominates wall time.timing.hotspots — which spans/functions are most expensive.files — whether cost is broad or concentrated in a few files.If a hotspot is unclear, correlate it with the Chrome trace timeline for ordering and overlap.
--trace-summary-output requires --trace-output; using summary alone exits with an error.