본문으로 건너뛰기
Skillpedia
일반 코딩29k · #9595

performance-profiler

하는 일

이 스킬은 Node.js, Python, Go 앱에서 느린 페이지, 메모리 누수, 큰 번들 같은 성능 문제를 찾는 데 도움을 줍니다. 측정을 바탕으로 속도 문제를 고치려는 개발자에게 맞습니다.

사용하는 경우

  • ✓엔드포인트나 페이지가 느린데 원인을 모를 때.
  • ✓앱의 메모리 사용량이 시간이 지나며 계속 늘어날 때.
  • ✓패키지를 추가한 뒤 웹 앱 번들이 훨씬 커졌을 때.

스킬 링크

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/performance-profiler/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/performance-profiler/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 결제 엔드포인트가 느립니다. 병목을 찾아 주고, 고친 뒤 변화를 측정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 먼저 앱을 측정하고, 무거운 쿼리나 CPU 사용처럼 흔한 느린 지점을 찾습니다. 변경을 한 뒤 다시 측정해서 개선을 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Performance Profiler

Tier: POWERFUL
Category: Engineering
Domain: Performance Engineering


Overview

Systematic performance profiling for Node.js, Python, and Go applications. Identifies CPU, memory, and I/O bottlenecks; generates flamegraphs; analyzes bundle sizes; optimizes database queries; detects memory leaks; and runs load tests with k6 and Artillery. Always measures before and after.

Core Capabilities

  • CPU profiling — flamegraphs for Node.js, py-spy for Python, pprof for Go
  • Memory profiling — heap snapshots, leak detection, GC pressure
  • Bundle analysis — webpack-bundle-analyzer, Next.js bundle analyzer
  • Database optimization — EXPLAIN ANALYZE, slow query log, N+1 detection
  • Load testing — k6 scripts, Artillery scenarios, ramp-up patterns
  • Before/after measurement — establish baseline, profile, optimize, verify

When to Use

  • App is slow and you don't know where the bottleneck is
  • P99 latency exceeds SLA before a release
  • Memory usage grows over time (suspected leak)
  • Bundle size increased after adding dependencies
  • Preparing for a traffic spike (load test before launch)
  • Database queries taking >100ms

Quick Start

# Analyze a project for performance risk indicators
python3 scripts/performance_profiler.py /path/to/project

# JSON output for CI integration
python3 scripts/performance_profiler.py /path/to/project --json

# Custom large-file threshold
python3 scripts/performance_profiler.py /path/to/project --large-file-threshold-kb 256

Golden Rule: Measure First

# Establish baseline BEFORE any optimization
# Record: P50, P95, P99 latency | RPS | error rate | memory usage

# Wrong: "I think the N+1 query is slow, let me fix it"
# Right: Profile → confirm bottleneck → fix → measure again → verify improvement

Node.js Profiling

→ See references/profiling-recipes.md for details

References

자주 묻는 질문

어떤 언어를 지원하나요?

Node.js, Python, Go 애플리케이션을 지원합니다.

많은 사용자가 몰릴 때를 테스트할 수 있나요?

네. k6과 Artillery로 부하 테스트를 작성하고 실행할 수 있습니다.

추측만 하나요?

아니요. 각 변경 전후를 측정하므로 실제 효과를 확인할 수 있습니다.

상세 정보

작성자의 원본 설명

Use for a slow endpoint, memory leak, CPU spike, large bundle or performance budget in Node.js, Python or Go, before optimizing. Measures before and after with performance_profiler.py, flamegraphs and k6 load tests.

repo: alirezarezvani/claude-skills

인기도

GitHub 스타
29k
순위
#9595
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬