Agent skill · data analytics · aiskillstore

performance-profiler

Identifies performance bottlenecks including N+1 queries, inefficient loops, memory leaks, and slow algorithms. Use when user mentions performance issues, slow code, optimization, or profiling.

Why this skill is useful

Provides domain-specific knowledge on identifying and fixing performance bottlenecks that the AI wouldn't reliably generate on its own.

What it needs

About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Performance Profiler Identifies and suggests fixes for common performance bottlenecks in code. When to Use User reports performance issues or slow code Optimization requests Code review for performance User mentions "slow", "bottleneck", "optimization", "memory leak" Instructions 1. Identify Performance Anti-Patterns N+1 Query Problems: Inefficient Loops: Unnecessary Re-renders (React): Memory Leaks: Event listeners not cleaned up Timers not cleared Circular references Large caches without limits Blocking Operations: Synchronous file I/O Long-running calculations in UI thread Missing pagination 2. Database Performance Check for: Missing indexes on foreign keys SELECT instead of specific columns Queries in loops (N+1) Missing query limits Inefficient JOINs Suggest: Add indexes: CREATE INDEX idxuserid ON posts(userid); Use eager loading/prefetching Implement pagination Use database query analyzers (EXPLAIN) 3. Algorithm Complexity Identify: O(n²) or worse algorithms Redundant calculations Unnecessary sorting Inefficient data structures Common fixes: Hash maps for O(1) lookup vs O(n) array search Binary search O(log n) vs linear search O(n) Memoization for repeated calculations Lazy evaluation for expensive operations 4. Frontend Performance Check for: Large bundle sizes Unoptimized images Missing code splitting Inefficient React components Missing memoization Suggest: Lazy loading: const Component = lazy(() => import('./Component')); Image optimization Debounce/throttle expensive operations Virtual scrolling for long lists Web Workers for heavy computations 5. Network Performance Issues: Too many HTTP requests Large payloads Missing caching Synchronous requests Solutions: Bundle/concatenate resources Implement compression (gzip, brotli) Use HTTP/2 multiplexing Add caching headers Parallel vs sequential requests 6. Generate Performance Report 7. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/performance-profiler

View the source on GitHub

Browse the @skills marketplace