بنقرة واحدة
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 المهني
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.
| 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.