performance-analyst

Analyze application performance bottlenecks including database queries and caching strategies.

Updated Jul 13, 2023
One-click install
npx skills add https://github.com/changgenglu/changgenglu-blog --skill performance-analyst-changgenglu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-analyst
Source: https://github.com/changgenglu/changgenglu-blog/tree/main/prompt_engineering/gemini/skills/performance-analyst
Command: npx skills add https://github.com/changgenglu/changgenglu-blog --skill performance-analyst-changgenglu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects and resolves performance bottlenecks in applications by identifying slow queries, suboptimal index usage, and caching gaps, enabling scalable and efficient systems.

Core Features & Use Cases

  • N+1 query detection and remediation guidance
  • Indexing and query optimization recommendations
  • Caching strategy design and capacity planning for high-traffic workloads

Quick Start

Analyze a slow query and propose caching, indexing, and query-tuning strategies.

Frequently Asked Questions about performance-analyst

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

FAQPage Schema
How do I detect and fix N+1 queries in my web application?

N+1 query detection identifies inefficient database access patterns in web applications and provides actionable remediation guidance. It pinpoints repeated single-record fetches within loops and recommends eager loading or batch fetching to eliminate redundant database round-trips.

What is the best way to optimize slow SQL queries and improve indexing?

Slow query optimization analyzes suboptimal index usage and recommends targeted SQL tuning strategies. It evaluates query execution plans, identifies missing or ineffective indexes, and provides concrete guidance to restructure queries for faster database retrieval.

How do I design a caching strategy for high-traffic web applications?

Caching strategy design identifies data access bottlenecks and formulates optimal cache layering for high-traffic workloads. It recommends appropriate cache invalidation policies and storage mechanisms to reduce database load and improve application scalability.

Can I get capacity planning guidance for diverse server-side workloads?

Capacity planning for diverse workloads analyzes server-side resource utilization and scalability requirements. It provides concrete, actionable guidance for tuning server configurations and planning infrastructure capacity to handle varying traffic loads efficiently.

Does this performance analysis cover security audits for database vulnerabilities?

No, this performance analysis explicitly requires no security audits. It focuses exclusively on resolving performance bottlenecks like slow queries, caching gaps, and scalability issues rather than identifying database security vulnerabilities.