performance-optimization

Profile software systems and cloud infrastructure to identify and fix performance bottlenecks.

4|2|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/saitarrun/devforge-ai --skill performance-optimization-saitarrun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/saitarrun/devforge-ai/tree/main/skills/performance-optimization
Command: npx skills add https://github.com/saitarrun/devforge-ai --skill performance-optimization-saitarrun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the critical pain of undetected performance bottlenecks that cause slow load times, poor user experience, inflated infrastructure costs, and system crashes under high traffic.

Core Features & Use Cases

  • Structured 6-Step Workflow: Follow a proven process to establish baselines, profile systems, identify top-impact bottlenecks, apply targeted fixes, verify improvements, and prevent future regressions.
  • Multi-Metric Performance Tracking: Measure and optimize key metrics including p50/p95/p99 latency, requests per second throughput, CPU/memory/disk I/O usage, and per-unit infrastructure cost.
  • Real-World Use Case: If your customer-facing API has p95 latency of 2 seconds during peak hours, use this Skill to profile request traces, identify an unindexed database query as the top bottleneck, add indexing and query caching, and verify latency drops to under 300ms.

Quick Start

Use the performance-optimization skill to profile your production API, identify the highest-impact performance bottleneck, and implement a fix to reduce p95 latency by at least 50%.

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 web application?

Identify performance bottlenecks by profiling systems using flame graphs and distributed traces to pinpoint slow database queries or resource limits. This process establishes baselines and targets top-impact latency issues across web applications and APIs.

What's the best way to reduce API latency during peak traffic hours?

Reduce API latency by profiling request traces to find high-impact bottlenecks, then applying targeted fixes like database indexing and query caching. This systematic optimization drops p95 latency and improves throughput under high traffic.

How do I measure and track system performance metrics like p95 latency and throughput?

Measure system performance by tracking p50, p95, and p99 latency alongside requests per second throughput, CPU usage, and disk I/O. This multi-metric tracking establishes baselines to verify optimization improvements and calculate infrastructure cost.

Why does my distributed system crash under high traffic, and how can I optimize it?

Distributed systems crash under high traffic due to undetected bottlenecks causing resource exhaustion. Optimize cloud infrastructure by profiling distributed traces, applying targeted fixes to reduce latency, and implementing regression prevention via performance testing.

Can I use systematic profiling to fix slow database queries in my APIs?

Systematic profiling identifies unindexed database queries as top bottlenecks in APIs. By adding indexing and query caching, you can verify latency drops significantly, improving overall resource efficiency and system throughput.

What steps should I follow to prevent future performance regressions after optimization?

Prevent performance regressions by implementing continuous performance testing and monitoring after applying optimizations. This final step in the workflow ensures latency reductions and throughput improvements remain stable over time.