performance-profiling

Diagnose performance bottlenecks using benchmarks, tracing, and optimization workflows.

Updated Oct 3, 2025
One-click install
npx skills add https://github.com/jobayerarman/Supplier_Management_System --skill performance-profiling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-profiling
Source: https://github.com/jobayerarman/Supplier_Management_System/tree/main/.claude/skills/performance-profiling
Command: npx skills add https://github.com/jobayerarman/Supplier_Management_System --skill performance-profiling

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Slow application performance can degrade user experience, impact productivity, and lead to scalability issues. This Skill provides a structured framework to systematically identify performance bottlenecks, measure improvements, and implement effective optimizations, ensuring the application runs efficiently and scales seamlessly with growing data.

Core Features & Use Cases

  • Baseline Measurement & Profiling: Establishes current performance metrics and pinpoints the exact source of slowness (e.g., excessive API calls, lock contention, inefficient algorithms).
  • Optimization Pattern Identification: Guides in selecting proven optimization techniques like reducing API calls, lock scope reduction, caching, or batching, based on common codebase patterns.
  • Scalability Testing: Verifies that optimizations hold at various data scales (e.g., 100, 1,000, 10,000 records) and prevents performance regressions.
  • Use Case: If a user reports "the invoice creation is slow with 10,000 records," the AI can activate this skill to profile the operation, identify that too many individual sheet API calls are the bottleneck, suggest batching, and then verify the speed improvement.

Quick Start

The invoice creation process is very slow when I have many records. Please help me optimize its performance.

Frequently Asked Questions about performance-profiling

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

FAQPage Schema
How do I identify what's causing my application to run slowly?

Performance profiling systematically measures where your code spends the most time and resources. Establish a baseline of current metrics, then use tracing and instrumentation to pinpoint the exact source—whether excessive API calls, lock contention, inefficient algorithms, or missing indexes—so you can target optimizations effectively.

What's the best way to optimize performance bottlenecks in my application?

A structured optimization workflow combines profiling results with proven patterns: reduce redundant API calls through batching, shorten lock scope to minimize contention, add caching or indexing for frequent queries, and implement batched writes. Verify each optimization holds across different data scales to prevent regressions.

How do I know if my performance improvements actually work at scale?

Scalability testing verifies optimizations remain effective as data grows. Run repeatable benchmarks at multiple scales—100, 1,000, 10,000+ records—to confirm speed gains persist and identify where new bottlenecks emerge, ensuring your application handles production load reliably.

Can I use performance profiling to fix timeouts and slow operations in data pipelines?

Yes. Profiling applies across applications, services, and data pipelines to diagnose slow operations and timeouts. Collect symptoms, establish baselines, trace execution paths, and apply optimization patterns like batching and caching to accelerate pipeline stages and meet SLA requirements.

What information do I need before starting to optimize performance?

Establish measurable baselines—current response times, throughput, resource usage—before optimization begins. Document the symptom (e.g., 'invoice creation with 10,000 records'), collect timing logs and instrumentation data, then isolate the bottleneck to apply targeted optimization patterns with confidence.