performance-analysis

Profile CPU, memory, event loop, and database queries to identify performance bottlenecks.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/devs6186/claude-private-skills-agents-commands --skill performance-analysis-devs6186
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-analysis
Source: https://github.com/devs6186/claude-private-skills-agents-commands/tree/main/skills/performance-analysis
Command: npx skills add https://github.com/devs6186/claude-private-skills-agents-commands --skill performance-analysis-devs6186

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performance profiling and optimization patterns for web apps, APIs, and CLIs. This guide helps teams measure and improve responsiveness, throughput, and resource usage with a structured approach.

Core Features & Use Cases

  • CPU profiling and flame graphs for backend services and client apps.
  • Memory leak detection and heap analysis across runtimes.
  • Event loop lag measurement and frontend performance auditing.
  • Database query analysis and optimization guidance for slow queries.
  • End-to-end performance budgeting and repeatable optimization workflows.

Quick Start

Run an initial baseline performance audit and start the optimization loop by measuring, profiling, hypothesizing, making changes, re-measuring, and repeating.

Frequently Asked Questions about performance-analysis

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

FAQPage Schema
How do I identify performance bottlenecks in my web app?

To identify performance bottlenecks in a web app, you profile CPU usage, memory allocation, event loop lag, and database queries. A structured workflow measures baseline metrics first, hypothesizes changes, and verifies optimizations through re-measurement.

What is the best way to detect memory leaks in Node.js applications?

Detecting memory leaks in Node.js applications requires heap analysis across runtimes to locate retained objects. By profiling memory usage during development and production, you isolate leak sources and guide targeted optimization fixes.

Can I analyze database query performance for slow APIs?

Yes, you can analyze database query performance for slow APIs using database query analysis and optimization guidance. This process identifies slow queries within your backend context and provides actionable profiling insights to improve throughput and responsiveness.

Does event loop lag measurement work for CLI tools and frontend auditing?

Event loop lag measurement applies to frontend performance auditing and CLI responsiveness, alongside backend services. It enforces a measure-first discipline across development, staging, and production environments to guide measurement-driven optimization.

How do I start an end-to-end performance profiling workflow?

Start an end-to-end performance profiling workflow by running an initial baseline audit. Measure current metrics, profile the results, hypothesize improvements, make changes, re-measure, and repeat this loop to achieve performance budgeting goals.