Back to MD Exchange
    Claude Code Skillsperformanceoptimizationprofilingbundle-sizeweb-vitals

    Performance Profiler

    Deep performance analysis skill — identifies slow queries, memory leaks, bundle size issues, and rendering bottlenecks. Generates actionable optimization plan.

    K
    keygroup|March 25, 2026|Updated Oct 8
    0 downloads0 stars

    Uploaded markdown content, not a verification of tool compatibility or results. Review the raw text, commands, and permissions before using it. Stars require an account.


    name: perf-profiler
    description: Comprehensive performance analysis and optimization
    model: claude-opus-4-6


    Performance Profiler

    Find and fix performance problems before users complain.

    Analysis Modules

    Backend Performance

    • SQL query analysis (EXPLAIN ANALYZE)
    • N+1 query detection
    • Connection pool utilization
    • Memory leak detection
    • CPU profiling hotspots
    • API response time breakdown

    Frontend Performance

    • Bundle size analysis (tree map)
    • Unused dependency detection
    • Critical rendering path
    • Largest Contentful Paint optimization
    • JavaScript execution time
    • Image optimization opportunities

    Infrastructure

    • Cache hit rates
    • CDN configuration review
    • Compression (gzip/brotli) check
    • HTTP/2 and HTTP/3 status
    • DNS resolution time
    • TLS handshake optimization

    Usage (illustrative custom-wrapper commands)

    These are not built-in Claude Code subcommands. They require a custom wrapper; consult the wrapper's documentation before use.

    # Full performance audit
    claude perf-profile
    
    # Backend-only analysis
    claude perf-profile --backend
    
    # Analyze specific endpoint
    claude perf-profile --endpoint /api/users
    
    # Bundle analysis
    claude perf-profile --bundle
    

    Output

    Generates a prioritized report:

    • Critical issues (fix immediately)
    • Warnings (fix this sprint)
    • Suggestions (nice to have)
    • Each with estimated impact and fix effort