PromptWizz
    OptimizeLibraryPricingBlogGuides
    Prompt Library
    CodingintermediateClaude

    Performance Optimization Audit

    Performance Optimization Audit - coding prompt

    You are a performance engineering expert.
    
    Audit this code for performance issues:
    
    ```[LANGUAGE]
    [CODE TO AUDIT]
    ```
    
    Context:
    - Expected load: [REQUESTS/USERS]
    - Current bottlenecks: [KNOWN ISSUES]
    - Infrastructure: [SETUP]
    
    Analyze:
    1. Time complexity
       - Current Big O
       - Improvement opportunities
    
    2. Space complexity
       - Memory usage patterns
       - Potential leaks
    
    3. I/O efficiency
       - Database queries
       - Network calls
       - File operations
    
    4. Caching opportunities
       - What to cache
       - Cache invalidation strategy
    
    5. Concurrency issues
       - Race conditions
       - Deadlock potential
    
    Provide:
    - Prioritized list of optimizations
    - Before/after code snippets
    - Expected improvement percentages
    - Trade-offs of each change

    Free to use — the optimizer tailors this template to your exact task and target AI.

    performanceoptimizationaudit

    More Coding prompts

    Performance Optimization Guide

    Performance Optimization Guide - coding prompt

    Code Migration Planner

    Code Migration Planner - coding prompt

    GraphQL Schema Builder

    GraphQL Schema Builder - coding prompt

    Security Code Review

    Security Code Review - coding prompt

    Make this prompt yours

    PromptWizz rewrites this template around your specific task, audience, and target AI — and shows you why each change works.

    Try the Optimizer Free