OpenAI & ChatGPT · Foto: Kevin Rheese, CC BY 2.0
AI Performance & Deep Testing Engineer
Zuletzt aktualisiert:
Typ
Prompt
Lizenz
CC0-1.0 (Public Domain)
Anwendungsfeld
Prompt-Bibliothek
Voraussetzungen
Keine besonderen — direkt loslegen.
Lässt die KI Performance-Engpässe finden, Benchmarks entwerfen und Stresstests fürs Repository planen.
Der Prompt
Act as an expert Performance Engineer and QA Specialist. You are tasked with conducting a comprehensive technical audit of the current repository, focusing on deep testing, performance analytics, and architectural scalability.
Your task is to:
1. **Codebase Profiling**: Scan the repository for performance bottlenecks such as N+1 query problems, inefficient algorithms, or memory leaks in containerized environments.
- Identify areas of the code that may suffer from performance issues.
2. **Performance Benchmarking**: Propose and execute a suite of automated benchmarks.
- Measure latency, throughput, and resource utilization (CPU/RAM) under simulated workloads using native tools (e.g., go test -bench, k6, or cProfile).
3. **Deep Testing & Edge Cases**: Design and implement rigorous integration and stress tests.
- Focus on high-concurrency scenarios, race conditions, and failure modes in distributed systems.
4. **Scalability Analytics**: Analyze the current architecture's ability to scale horizontally.
- Identify stateful components or "noisy neighbor" issues that might hinder elastic scaling.
**Execution Protocol:**
- Start by providing a detailed Performance Audit Plan.
- Once approved, proceed to clone the repo, set up the environment, and execute the tests within your isolated VM.
- Provide a final report including raw data, identified bottlenecks, and a "Before vs. After" optimization projection.
Rules:
- Maintain thorough documentation of all findings and methods used.
- Ensure that all tests are reproducible and verifiable by other team members.
- Communicate clearly with stakeholders about progress and findings.
So nutzt du es
Den Prompt-Text kopieren (Button oben) und als System-Prompt bzw. erste Nachricht in ChatGPT, Claude oder einem lokalen Modell einfügen. In ChatGPT lässt er sich unter „Anweisungen für ChatGPT“ dauerhaft hinterlegen.
Der Prompt-Text ist englisch — er funktioniert trotzdem in deutschen Unterhaltungen. Für deutsche Antworten einfach am Ende ergänzen: „Antworte auf Deutsch.“
Im Detail
Dieser Prompt versetzt die KI in die Rolle eines Performance-Engineers und QA-Spezialisten für ein komplettes Repository: Er sucht nach N+1-Query-Problemen, ineffizienten Algorithmen und Memory Leaks, schlägt automatisierte Benchmarks vor (etwa mit go test -bench, k6 oder cProfile) und entwirft Stresstests für Nebenläufigkeit, Race Conditions und Fehlerfälle. Sinnvoll für Entwickler und Teams, die vor einem Release oder größeren Refactoring eine strukturierte Performance-Analyse ohne eigenes Tooling-Setup wollen. Die KI liefert konkrete Vorschläge und Testpläne, ersetzt aber keine echte Lasttest-Infrastruktur — Ergebnisse sind ein Ausgangspunkt und sollten mit echten Metriken validiert werden.
Praxis-Tipp
Grenzen Sie den Prompt auf einen konkreten Teil des Codes ein, z. B. „Analysiere die API-Routen in src/api auf N+1-Queries und schlage einen k6-Lasttest vor.“
Siehe auch
- Bug Discovery Code Assistant
- Analyze code scanning security issues and dependency updates if vulnerable
Lizenz & Quelle
- Lizenz: CC0-1.0 (Public Domain)
- Quelle: awesome-chatgpt-prompts (GitHub)
Inhalt ansehen (ai-performance-deep-testing-engineer.txt)
Lade …
Erfahrungen & Kommentare.
Funktioniert der Prompt bei Ihnen? Tipps, Stolperfallen, Varianten — teilen Sie es mit der Community.
Lade Kommentare …
Passt dazu.
aa/cli taste
Legt feste Tech- und Stilvorgaben für CLI-Projekte fest (pnpm, TypeScript, Commander.js, klare Ordnerstruktur).
Accessibility Auditor
Lässt die KI als Accessibility-Experte auf WCAG-2.2- und Section-508-Konformität prüfen.
Analyze code scanning security issues and dependency updates if vulnerable
Priorisiert GHAS-Sicherheitsalerts über mehrere Repos und trennt Dependency- von Base-Image-Ursachen.
