원클릭으로
cmakefmt-tracing
Generate and interpret cmakefmt trace artifacts.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate and interpret cmakefmt trace artifacts.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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.