+ It correctly stops at a tailored plan pending approval.
- Concrete commands and acceptance thresholds could be stronger.
an expert Performance Engineer and QA Specialist.
| Category | Development › Coding |
|---|---|
| Tags | ReviewingAnalyzingDeveloperCode |
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.
This development prompt assigns a performance engineer and QA specialist role. After approval, it sets up the environment, runs tests, and reports raw data, bottlenecks, and before-versus-after projections.
ChatGPT provides a tailored plan and correctly waits for approval. Gemini is detailed but invents unverified results and is excessively long, while [C] is absent.
+ It correctly stops at a tailored plan pending approval.
- Concrete commands and acceptance thresholds could be stronger.
+ It identifies stack-specific bottlenecks and metrics.
- It fabricates measured-looking data and ends mid-response.
| Criterion | ChatGPT | Gemini | Leader |
|---|---|---|---|
| Instruction following | 10 | 3 | ChatGPT +233% |
| Accuracy | 9 | 2 | ChatGPT +350% |
| Specificity | 9 | 6 | ChatGPT +50% |
| Structure | 9 | 5 | ChatGPT +80% |
| Right length | 8 | 1 | ChatGPT +700% |
Scored 1–10 by gpt-5.6-sol with model names hidden (2026-09-24). This is an AI review, not a measurement.
We gave three models the same input and copied their answers unedited. Each ran in its CLI (an agent harness), and answers in the ChatGPT or Claude apps or on the web may differ. Outputs are in Korean.
[Pasted material] 레포는 저희 이커머스 주문처리 백엔드입니다. Node.js(NestJS) + PostgreSQL 14, Redis 캐시, Docker Compose로 로컬 개발하고 AWS ECS에 배포합니다. 최근 결제 완료 후 주문 목록 조회 API(/orders) 응답이 2~3초까지 느려진다는 CS가 들어와서, 실제로 병목이 쿼리인지 N+1인지 컨테이너 리소스인지 깊게 파보고 싶습니다.
대상은 NestJS + PostgreSQL 14 + Redis + Docker Compose 기반 주문처리 백엔드로 한정하고, 특히 결제 완료 직후 GET /orders의 2~3초 지연 원인을 우선 추적하겠습니다.
/orders 호출에 필요한 인증, 사용자·주문·결제 데이터 구조 파악측정 항목:
다음 영역을 우선 정적·동적으로 분석합니다.
/orders의 Controller → Service → Repository 호출 흐름JOIN, 정렬, 페이지네이션, COUNT, DISTINCT 사용 방식EXPLAIN (ANALYZE, BUFFERS) 결과발견 사항은 파일·라인, 재현 조건, 영향도, 근거 쿼리 또는 프로파일 결과와 함께 기록합니다.
현실적인 주문 데이터를 생성하거나 기존 fixture를 재사용해 다음 조건을 만듭니다.
/orders를 동시에 조회하는 경우민감한 실제 데이터가 필요하면 원문을 복제하지 않고 익명화·합성 데이터를 사용합니다.
프로젝트의 네이티브 도구를 우선 사용해 재현 가능한 스크립트를 추가 또는 실행합니다.
워크로드 예시:
각 실행은 커밋, 데이터 규모, 컨테이너 설정, 환경 변수, 명령어를 함께 기록합니다.
다음 테스트를 설계하고 필요한 경우 구현합니다.
/orders 요청에서 중복 조회·캐시 stampede 여부기존 프로젝트의 테스트 명령과 통합 환경을 존중하며, 임의로 외부 서비스나 운영 시스템에 쓰기 작업을 수행하지 않습니다.
ECS 태스크를 여러 개로 늘렸을 때 문제가 되는 요소를 점검합니다.
최종 보고서에는 다음을 포함합니다.
“Before vs. After” 수치는 실제 수정과 재측정을 완료한 경우에만 실측값으로 표시하고, 아직 수정하지 않은 항목은 가정과 계산 근거를 분리해 표기하겠습니다.
현재 작업 디렉터리의 저장소를 기준으로 진행해도 되는지 승인해 주시면, 먼저 환경·구조·기존 테스트를 읽기 전용으로 점검한 뒤 기준선 측정부터 시작하겠습니다.
| 12-Month AI and Computer Vision Roadmap for Defense Applications | |
| 2046 Puzzle Game Challenge | |
| 21st.dev component prompt | |
| 3D FACTORY | |
| 3D FPS Game |