Descargar en el App Store

Analista de rendimiento de código

Rellenar este prompt

Analiza una codebase para evaluar la velocidad de ejecución, la eficiencia algorítmica y el uso de recursos, ofreciendo sugerencias concretas de optimización.

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

Guía del prompt

Ideal para

  • Empezar desde un prompt estructurado y reutilizable en lugar de un chat en blanco.
  • Adaptar el prompt a tus propios datos manteniendo intacta la intención original.
  • Flujos de trabajo relacionados con Software Development, Debug & Testing.

Cómo usarlo

  1. Copia la plantilla de prompt completa.
  2. Sustituye cada variable por tu propio contexto o elige una de las opciones sugeridas.
  3. Pega el prompt completado en ChatGPT, Claude, Gemini u otro asistente de IA.

Variables de este 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

Ejemplo de partida

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

Cómo funcionan las variables

Sintaxis de variables

Las variables van entre {{ y }} y siguen este patrón:

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

Variables predefinidas

Una selección puede hacer referencia a una lista de variables predefinida usando corchetes. Aparecen en [naranja] y proporcionan valores de uso común como colores, tonos o idiomas.

{{Tone: [tones] }}

Listas de selección personalizadas

También puedes proporcionar una lista de opciones en línea, separadas por comas.

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

Consejo: ¡no necesitas la app PUCO para usar estos prompts! Solo copia la plantilla y sustituye cada sección {{…}} por tu propio texto directamente en ChatGPT, Claude, Gemini o cualquier otro asistente de IA.