Performance

Analyze codebases to detect performance bottlenecks and optimization opportunities.

3|Updated Sep 27, 2025
One-click install
npx skills add https://github.com/Sheldon-92/TAD --skill performance-sheldon-92
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Performance
Source: https://github.com/Sheldon-92/TAD/tree/main/.tad/skills/performance
Command: npx skills add https://github.com/Sheldon-92/TAD --skill performance-sheldon-92

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performance issues in codebases can cause latency, poor user experience, and wasted compute resources. This skill identifies bottlenecks in algorithms, memory usage, and database access patterns, and provides concrete optimization guidance.

Core Features & Use Cases

  • Automated detection of inefficient algorithms (e.g., O(n^2)/O(n^3) hotspots) and memory leaks with actionable remediation notes.
  • Profiling-oriented evaluation across common hot paths such as loops, batch operations, and database interactions.
  • Evidence-backed recommendations and benchmarks to justify optimizations in code reviews and deployment gates.

Quick Start

Provide the target codebase path or files to analyze, and I will produce a performance review with concrete optimization recommendations.

Frequently Asked Questions about Performance

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

FAQPage Schema
How do I identify performance bottlenecks in my codebase?

Performance analysis detects inefficient algorithms and memory leaks by evaluating codebase hot paths. It targets loops and database operations to pinpoint O(n^2) hotspots, memory leaks, and unbounded growth using evidence-backed detection patterns.

How do I find O(n^2) algorithms and memory leaks during code review?

Finding O(n^2) algorithms and memory leaks during code review requires profiling-oriented evaluation of data-heavy paths. The analysis enforces performance criteria to detect unbounded growth and database access bottlenecks with actionable remediation notes.

Can I use automated code analysis for database operations and loops?

Yes, automated code analysis evaluates database operations and loops to find optimization opportunities. It enforces detection patterns across common hot paths and data-heavy modules to provide concrete guidance for performance improvements.

What is the best way to optimize code performance hotspots across services?

The best way to optimize code performance hotspots is applying evidence-backed recommendations from a full codebase analysis. This identifies bottlenecks across modules and services, justifying optimizations with benchmarks in deployment gates.

Does performance profiling work for batch operations and data-heavy paths?

Performance profiling works effectively for batch operations and data-heavy paths by enforcing detection patterns. The analysis targets these common hot paths to identify unbounded growth and memory leaks with actionable remediation notes.

When should I not use automated performance analysis?

You should not use automated performance analysis when lacking a concrete codebase path for evaluation. The process requires target files to analyze modules and services, as it relies on evidence-backed detection patterns rather than theoretical design reviews.