بنقرة واحدة
benchmark
Run and analyze performance benchmarks. Use when working on performance-critical code or comparing changes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run and analyze performance benchmarks. Use when working on performance-critical code or comparing changes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Look up Rust crate documentation in Markdown format from target/doc-md/.
Run all Rust quality checks (fmt, clippy, test, bench). Use before committing or when validating code changes.
Upgrade Rust dependencies one at a time using cargo outdated. Analyzes impact, checks for API changes, and produces a recommendation before upgrading.
Prepare a pull request with quality checks, commit, and PR creation. Use when ready to submit changes for review.
Run security audit on dependencies and review code for vulnerabilities. Use before releases or when updating dependencies.
| name | benchmark |
| description | Run and analyze performance benchmarks. Use when working on performance-critical code or comparing changes. |
Run the Criterion benchmarks and analyze performance.
# Run the whole suite
cargo bench
# Run a single benchmark by name filter
cargo bench --bench eval -- parse
cargo bench --bench eval -- eval_str/field_access
cargo bench --bench eval -- eval_str/iterate_100
# Save a baseline before changes
cargo bench --bench eval -- --save-baseline before
# Make your changes...
# Compare against the baseline
cargo bench --bench eval -- --baseline before
| Benchmark group | File | What it measures |
|---|---|---|
parse/* | benches/eval.rs | Compiling a filter (parser::parse) |
eval_str/* | benches/eval.rs | End-to-end eval_str (parse filter + load YAML + evaluate) |