Perf Reviewer

Benchmark AILANG, Python, and Go code and profile performance bottlenecks.

33|5|Updated Sep 26, 2025
One-click install
npx skills add https://github.com/sunholo-data/ailang --skill perf-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Perf Reviewer
Source: https://github.com/sunholo-data/ailang/tree/main/.claude/skills/perf-reviewer
Command: npx skills add https://github.com/sunholo-data/ailang --skill perf-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Python, Go, AILANG, and includes scripts (resource) components.

What problem does it solve?

This Skill helps identify performance bottlenecks, run cross-language benchmarks (AILANG vs Python vs Go), and guide optimization opportunities.

Core Features & Use Cases

  • Cross-language benchmarking: compare AILANG, Python, and Go on standard workloads.
  • Profiling & analysis: performance profiling of AILANG code with phase breakdowns.
  • Guided optimization: actionable recommendations based on benchmarks and profiling.

Quick Start

  • Run all standard benchmarks: .claude/skills/perf-reviewer/scripts/benchmark.sh
  • Run a specific benchmark: .claude/skills/perf-reviewer/scripts/benchmark.sh fibonacci
  • Profile an AILANG file: .claude/skills/perf-reviewer/scripts/profile_ailang.sh <file.ail>

Frequently Asked Questions about Perf Reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I benchmark performance across Python, Go, and AILANG?

Cross-language benchmarking compares execution speed and resource use of the same workload across Python, Go, and AILANG to identify which language performs best for your use case. Run `.claude/skills/perf-reviewer/scripts/benchmark.sh` to execute standard benchmarks, or specify a benchmark name like `fibonacci` to test a particular algorithm across all three languages and receive timing data and speedup ratios.

What's the best way to identify performance bottlenecks in my code?

Performance profiling analyzes where your code spends execution time, breaking down compilation and runtime phases to reveal which functions or operations consume the most resources. Use `.claude/skills/perf-reviewer/scripts/profile_ailang.sh <file.ail>` to profile AILANG code and receive actionable optimization recommendations based on the profiling results.

Can I compare performance between Python and Go implementations?

Yes. The Skill runs comparative benchmarks across Python and Go alongside AILANG, measuring execution speed and efficiency to help you decide which language suits your performance requirements. Results include timing data and speedup ratios to guide language selection and optimization opportunities.

How do I optimize compute-intensive code with benchmarking data?

Optimization uses benchmark results and profiling analysis to guide code improvements. After running benchmarks and profiling your code, the Skill provides specific recommendations on where and how to refactor bottlenecks, enabling you to prioritize optimization efforts based on measured performance impact.

What languages and workloads does this support?

The Skill supports AILANG, Python, and Go with standard benchmark workloads and custom profiling for AILANG files. It applies to compute-intensive modules where users request language comparisons, cross-platform benchmarking, or optimization guidance backed by measurable performance data.