performance-optimization

Profile software systems to identify and resolve performance bottlenecks.

5|2|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/ZacharyLuz/github-copilot-chat-exporter --skill performance-optimization-zacharyluz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/ZacharyLuz/github-copilot-chat-exporter/tree/main/.claude/skills/engineering/performance-optimization
Command: npx skills add https://github.com/ZacharyLuz/github-copilot-chat-exporter --skill performance-optimization-zacharyluz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured approach to identifying and resolving performance bottlenecks in software systems, helping teams produce measurable improvements and prevent SLA violations.

Core Features & Use Cases

  • Baseline & profiling: Establish baselines, profile code paths, and observe bottlenecks across languages.
  • Targeted optimizations: Prioritize changes by impact and ease, implement one change at a time, and verify improvements.
  • Cross-language applicability: Use in Python, Go, JavaScript, Java, and other ecosystems during performance testing, production tuning, or post-deployment benchmarking.
  • Use Case: If an API responds slowly under load, measure with a profiler, identify CPU-intensive code, apply a fix, and re-run the benchmark to confirm gains.

Quick Start

Establish baseline with a profiler appropriate to your stack, then run a quick test:

  • Python: py-spy record -o profile.svg -- python app.py
  • Go: go test -cpuprofile=cpu.prof
  • Node.js: node --prof app.js
  • Run a lightweight load test: k6 run load-test.js
  • Compare pre- and post-optimization results and iterate until targets are met.

Frequently Asked Questions about performance-optimization

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

FAQPage Schema
How do I identify performance bottlenecks in my application?

To identify performance bottlenecks, establish a performance baseline using an appropriate profiler, observe the code paths under load, and document the results. This structured measurement approach ensures you pinpoint exact CPU-intensive areas for targeted optimization.

What's the best way to profile code across different programming languages?

Profiling code across languages requires selecting appropriate profilers for your specific stack, such as py-spy for Python or go test for Go. Run repeatable experiments to measure code paths and observe bottlenecks consistently across any live application environment.

How do I verify performance improvements after optimizing code?

To verify performance improvements, implement one targeted change at a time and re-run benchmarks. Compare your post-optimization results against the initial baseline to ensure measurable improvement and document the impact to confirm targets are met.

Why do I need to establish a baseline before optimizing software?

You need to establish a baseline before optimizing software to create a measurable starting point. Baselining allows you to run repeatable experiments, accurately document the impact of targeted optimizations, and verify that your changes produce actual measurable improvements.

Can I use standard profiling tools to speed up slow API responses?

Yes, you can use standard profiling tools to speed up slow API responses. Measure the slow API with a profiler, identify the CPU-intensive code, apply a targeted fix, and re-run the benchmark to confirm the performance gains.

When should I not use targeted optimizations for software bottlenecks?

You should avoid targeted optimizations without baselining first. If you skip establishing baselines and running repeatable experiments, you risk making changes that lack measurable improvement and fail to resolve the actual performance bottlenecks.