Skip to content

feat: add AI benchmark optimizer skill for performance optimization#2122

Open
benfdking wants to merge 1 commit intomainfrom
claude/ai-benchmark-optimizer-bqwY5
Open

feat: add AI benchmark optimizer skill for performance optimization#2122
benfdking wants to merge 1 commit intomainfrom
claude/ai-benchmark-optimizer-bqwY5

Conversation

@benfdking
Copy link
Collaborator

Add a Claude Code skill that provides a structured methodology for
optimizing Rust code performance using cargo benchmarks as feedback:

  • SKILL.md: Main skill file with 7-step optimization workflow
  • scripts/run-benchmark.sh: Helper for reliable benchmark runs
  • scripts/compare-baselines.sh: Compare saved benchmark baselines
  • references/optimization-patterns.md: Common Rust optimization patterns
  • references/blog-post-template.md: Template for documenting results

Also updates .gitignore to allow .claude/skills/ while excluding other
Claude Code configuration files.

Add a Claude Code skill that provides a structured methodology for
optimizing Rust code performance using cargo benchmarks as feedback:

- SKILL.md: Main skill file with 7-step optimization workflow
- scripts/run-benchmark.sh: Helper for reliable benchmark runs
- scripts/compare-baselines.sh: Compare saved benchmark baselines
- references/optimization-patterns.md: Common Rust optimization patterns
- references/blog-post-template.md: Template for documenting results

Also updates .gitignore to allow .claude/skills/ while excluding other
Claude Code configuration files.
@github-actions
Copy link

github-actions bot commented Jan 5, 2026

Benchmark for dfee849

Click to view benchmark
Test Base PR %
DepthMap::from_parent 55.2±1.13µs 55.4±0.97µs +0.36%
fix_complex_query 12.6±0.07ms 12.5±0.06ms -0.79%
fix_superlong 175.1±24.85ms 183.4±28.46ms +4.74%
parse_complex_query 4.3±0.03µs 4.3±0.04µs 0.00%
parse_expression_recursion 7.7±0.11µs 7.8±0.10µs +1.30%
parse_simple_query 1070.4±20.95ns 1084.5±10.85ns +1.32%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants