Scarica dall’App Store

Analista delle prestazioni del codice

Compila questo prompt

Analizza una codebase per valutare la velocità di esecuzione, l'efficienza algoritmica e l'uso delle risorse, fornendo suggerimenti concreti di ottimizzazione.

Modello di prompt

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**.

Guida al prompt

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.

Come usarlo

  1. Copia il modello di prompt completo.
  2. Sostituisci ogni variabile con il tuo contesto o scegli una delle opzioni suggerite.
  3. Incolla il prompt completato in ChatGPT, Claude, Gemini o un altro assistente IA.

Variabili in questo prompt

Codebase

if used in an AI agent use the current project

Focus Area

All, Execution Speed, Algorithmic Efficiency, Resource Usage, I/O Operations

Output Detail

High, Medium, Low

Esempio di partenza

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...

Come funzionano le variabili

Sintassi delle variabili

Le variabili sono racchiuse tra {{ e }} e seguono questo schema:

{{variable name: option1, option2, option3 }}

Variabili predefinite

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.

{{Tone: [tones] }}

Elenchi di scelta personalizzati

Puoi anche fornire un elenco di scelte in linea, separate da virgole.

{{Format: bullet points, paragraphs, numbered list }}
💡

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.