performance-optimization

Profile bottlenecks and apply validated optimizations with repeatable metrics.

187|20|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/TheBushidoCollective/han --skill performance-optimization-thebushidocollective
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/TheBushidoCollective/han/tree/main/core/skills/performance-optimization
Command: npx skills add https://github.com/TheBushidoCollective/han --skill performance-optimization-thebushidocollective

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic approach to identifying and fixing performance issues with data-driven decisions.

Core Features & Use Cases

  • Baseline measurement across frontend, backend, and DB
  • Profiling to locate bottlenecks
  • Targeted optimizations with measurable impact

Quick Start

Establish a baseline with a performance audit, then iteratively apply a single optimization and re-measure.

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?

Performance bottlenecks are identified through profiling, which measures where your code spends the most time and resources. Establish a baseline measurement first, then profile frontend load times, backend response times, bundle size, memory usage, and database query duration to pinpoint slow components before optimizing.

What's the best way to measure performance improvements?

Measure performance by establishing a repeatable baseline metric, applying a single optimization, then re-measuring the same metric to validate impact. This approach isolates the effect of each change and ensures improvements are data-driven rather than assumed.

Can I optimize both frontend and backend performance with the same approach?

Yes, the measurement-driven optimization approach applies across frontend and backend codebases. Whether reducing React app load times, server-side rendering latency, or API workload duration, the process is identical: baseline, profile, optimize one change at a time, and validate with repeatable metrics.

How do I reduce bundle size, memory usage, and database query duration?

These metrics are addressed through targeted profiling and optimization. Measure each area separately against your baseline, identify which queries or assets consume the most resources, apply focused optimizations one at a time, and re-measure to confirm the improvement before moving to the next bottleneck.

Do I need to profile my entire application or just specific areas?

Start with a full baseline performance audit to understand overall behavior, then profile the areas that impact user experience most. Focus optimization efforts on the bottlenecks that offer the highest performance gain relative to effort, validated by before-and-after measurement.

Why should I apply one optimization at a time instead of multiple changes together?

Applying optimizations individually allows you to measure the exact impact of each change and identify which ones actually improve performance. Multiple simultaneous changes make it impossible to know which optimization caused an improvement or regression.