본문으로 건너뛰기
Skillpedia
자동화280k · #142

benchmark

하는 일

이 도구는 웹사이트나 앱의 속도와 성능을 측정합니다. 페이지가 얼마나 빨리 로드되는지, API가 얼마나 빨리 응답하는지, 개발 과정이 얼마나 빠른지 확인합니다.

사용하는 경우

  • ✓변경 전후에 그 영향을 보고 싶을 때.
  • ✓사용자가 무언가 느리다고 불평할 때.
  • ✓새로운 것을 출시하기 전에 성능이 좋은지 확인할 때.

스킬 링크

https://github.com/affaan-m/ECC/blob/main/pi/core/skills/benchmark/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/pi/core/skills/benchmark/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분.

작동 방식

도구는 웹사이트나 앱을 사용하는 상황을 재현하고, 다양한 시간과 크기를 기록합니다. 그다음 이 수치를 이전 기록이나 정한 목표와 비교합니다.

기술 내용 (원본 SKILL.md)

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

Benchmark — Performance Baseline & Regression Detection

When to Use

  • Before and after a PR to measure performance impact
  • Setting up performance baselines for a project
  • When users report "it feels slow"
  • Before a launch — ensure you meet performance targets
  • Comparing your stack against alternatives

How It Works

Mode 1: Page Performance

Measures real browser metrics via browser MCP:

1. Navigate to each target URL
2. Measure Core Web Vitals:
   - LCP (Largest Contentful Paint) — target < 2.5s
   - CLS (Cumulative Layout Shift) — target < 0.1
   - INP (Interaction to Next Paint) — target < 200ms
   - FCP (First Contentful Paint) — target < 1.8s
   - TTFB (Time to First Byte) — target < 800ms
3. Measure resource sizes:
   - Total page weight (target < 1MB)
   - JS bundle size (target < 200KB gzipped)
   - CSS size
   - Image weight
   - Third-party script weight
4. Count network requests
5. Check for render-blocking resources

Mode 2: API Performance

Benchmarks API endpoints:

1. Hit each endpoint 100 times
2. Measure: p50, p95, p99 latency
3. Track: response size, status codes
4. Test under load: 10 concurrent requests
5. Compare against SLA targets

Mode 3: Build Performance

Measures development feedback loop:

1. Cold build time
2. Hot reload time (HMR)
3. Test suite duration
4. TypeScript check time
5. Lint time
6. Docker build time

Mode 4: Before/After Comparison

Run before and after a change to measure impact:

/benchmark baseline    # saves current metrics
# ... make changes ...
/benchmark compare     # compares against baseline

Output:

| Metric | Before | After | Delta | Verdict |
|--------|--------|-------|-------|---------|
| LCP | 1.2s | 1.4s | +200ms | WARNING: WARN |
| Bundle | 180KB | 175KB | -5KB | ✓ BETTER |
| Build | 12s | 14s | +2s | WARNING: WARN |

Output

Stores baselines in .ecc/benchmarks/ as JSON. Git-tracked so the team shares baselines.

Integration

  • CI: run /benchmark compare on every PR
  • Pair with /canary-watch for post-deploy monitoring
  • Pair with /browser-qa for full pre-ship checklist
자주 묻는 질문

‘Core Web Vitals’란 무엇인가요?

페이지 로딩 속도, 상호작용성, 화면의 시각적 안정성처럼 사용자 경험을 측정하는 중요한 지표입니다.

결과는 어디에 저장되나요?

결과는 Git으로 관리되는 JSON 텍스트 파일에 저장되므로, 팀 모두가 볼 수 있습니다.

서로 다른 기술을 비교할 수 있나요?

네. 이 도구로 어떤 기술이나 접근 방식을 쓸지 정하기 전에 성능을 비교할 수 있습니다.

상세 정보

작성자의 원본 설명

Measure performance baselines and detect regressions across browser Core Web Vitals (LCP, INP, CLS, page weight), API endpoint latency percentiles, and build/test feedback times, with before/after comparison stored in git-tracked .ecc/benchmarks JSON. Use when checking page speed, responding to 'it feels slow' reports, verifying launch performance targets, or comparing stack alternatives.

repo: affaan-m/ECC

인기도

GitHub 스타
280k
순위
#142
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬