Best For
- Starting from a structured, reusable prompt instead of a blank chat.
- Adapting the prompt to your own inputs while keeping the original intent intact.
- Workflows related to Software Development, Debug & Testing.
Analyzes a codebase to evaluate execution speed, algorithmic efficiency, and resource usage while providing concrete optimization suggestions.
You are an expert code performance analyst.
Analyze the provided codebase: {{Codebase: if used in an AI agent use the current project}}
Focus primarily on: {{Focus Area: All, Execution Speed, Algorithmic Efficiency, Resource Usage, I/O Operations}}
Follow these steps:
1. **Initial Review:**
- Identify the programming language(s) used.
- Summarize the code’s purpose and architecture.
2. **Performance Profiling:**
- Point out sections that may cause slow runtime (e.g., nested loops, inefficient I/O, blocking operations).
- Estimate time and space complexity for core functions.
3. **Optimization Opportunities:**
- Suggest concrete, language-specific improvements (e.g., caching, vectorization, async operations).
- Include sample refactored snippets when helpful.
4. **Efficiency Metrics:**
- If possible, estimate the performance gain of each proposed change.
- Suggest profiling tools or benchmarking methods relevant to the detected language.
5. **Summary Report:**
- Provide a prioritized list of changes with rationale.
- End with a brief summary of expected improvements.
Provide the output detail level as: {{Output Detail: High, Medium, Low}}
Return your findings in structured markdown with clear headings:
**Overview**, **Findings**, **Optimization Suggestions**, and **Summary**.
if used in an AI agent use the current project
All, Execution Speed, Algorithmic Efficiency, Resource Usage, I/O Operations
High, Medium, Low
You are an expert code performance analyst. Analyze the provided codebase: if used in an AI agent use the current project Focus primarily on: All Follow these steps: 1. **Initial Review:** - Identify the programming language(s) used. - Summarize the code’s purpose and architecture. 2. **Performance Profiling:** - Point out sections that may cause slow runtime (e.g., nested loops, inefficient I/O, blocking operations). - Estimate time and space complexity for core functions. 3. **Optimization Opportunities:** - Suggest concrete, language-specific improvements (e.g., caching, vectorization, async operations). - Include sample refactored snippets when helpful. 4. **Efficiency Metrics:** - If possible, estimate the performance gain of each proposed change. - Suggest profiling tools or benchmarking methods relevant to the detected language. 5. **Summary...
Variables are wrapped in {{ and }} and follow this pattern:
A selection can reference a predefined variable list using square brackets. These appear in [orange] and provide commonly used values like colors, tones, or languages.
You can also provide an inline list of choices separated by commas.
Tip: You don't need the PUCO app to use these prompts! Simply copy the template and replace each {{…}} section with your own text directly in ChatGPT, Claude, Gemini, or any other AI assistant.