con un clic
cmakefmt-tracing
Generate and interpret cmakefmt trace artifacts.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Generate and interpret cmakefmt trace artifacts.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| 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.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.