Ideale per
- Partire da un prompt strutturato e riutilizzabile invece di una chat vuota.
- Adattare il prompt ai propri input mantenendo intatto l'intento originale.
- Flussi di lavoro legati a Software Development, Debug & Testing.
Analizza una codebase per valutare la velocità di esecuzione, l'efficienza algoritmica e l'uso delle risorse, fornendo suggerimenti concreti di ottimizzazione.
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...
Le variabili sono racchiuse tra {{ e }} e seguono questo schema:
Una selezione può fare riferimento a un elenco di variabili predefinito usando le parentesi quadre. Appaiono in [arancione] e forniscono valori di uso comune come colori, toni o lingue.
Puoi anche fornire un elenco di scelte in linea, separate da virgole.
Suggerimento: non hai bisogno dell'app PUCO per usare questi prompt! Copia semplicemente il modello e sostituisci ogni sezione {{…}} con il tuo testo direttamente in ChatGPT, Claude, Gemini o qualsiasi altro assistente IA.