본문으로 건너뛰기
cccskills
무료GitHub에 공개

performance-test

Performance y load testing para apps Educabot (Go/TS/React/RN): k6 scripts, smoke/load/stress/soak/spike, thresholds por SLO, CI integration, reporte.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane스타 3(GitHub 3 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

performance-test — Load & Performance Testing

Framework basado en k6 (Grafana Labs) — scripting JS, ejecución Go, integración Prometheus/Grafana.

Test Types

TipoObjetivoDuraciónVUs
SmokeVerificar sin error grueso1-2min1-5
LoadCarga esperada sostenida15-30minN esperado
StressEncontrar breaking point30-60minRamp hasta romper
SoakDegradación/leaks sostenido2-8hN esperado
SpikeResiliencia picos súbitos5-15min0→10x→0

Project Structure

perf/k6/
  config/envs.js, thresholds.js
  lib/auth.js, data.js
  scenarios/smoke.js, load-api.js, stress-login.js, soak-dashboard.js
  results/  (gitignored)

Thresholds from SLOs

SLO availability 99.9% → http_req_failed: rate<0.001. SLO p95 <500ms → http_req_duration: p(95)<500. Test falla (exit 1) si no se cumple → gate en CI.

Execution

k6 run k6/scenarios/smoke.js
BASE_URL=https://staging.educabot.com k6 run k6/scenarios/load-api.js
k6 run -o experimental-prometheus-rw k6/scenarios/load-api.js

CI Integration

  • Scheduled weekly (lunes 3am) con workflow_dispatch manual
  • Solo smoke en PRs — stress/soak en scheduled/manual
  • Upload results/summary.json como artifact

Key Metrics

MétricaQué significa
http_req_durationLatencia total (DNS+TCP+TLS+server)
http_req_waitingTTFB — latencia server
http_req_failedError rate
iterationsCompletaciones del flow

Quick Diagnosis

SeñalProbable causa
p95 alto + error rate bajoServer lento → profiler (pprof/clinic.js)
Error rate sube con VUsSaturación → pool DB, file descriptors, CPU
p99 >> p95Long-tail → GC, cold cache, head-of-line blocking
Throughput plateauBottleneck identificado (DB/CPU/red)

Checklist

  • Avisar al team (Slack)
  • Confirmar env staging/perf (NO prod sin autorización)
  • Feature flags para disable paths destructivos
  • Monitorear dashboards en tiempo real
  • Plan rollback si rompe shared resources
  • Teardown data generada post-test

Anti-patterns

  • Load test contra prod sin aviso, thresholds sin relación a SLO
  • Stress en cada PR (ruidoso, costoso), test users compartidos con reales
  • Sin think time (tráfico irreal), confundir VUs = RPS
  • No limpiar data generada, correr desde laptop (red falsea p95)

Grafana Dashboard

Import template ID 19665 (k6 Prometheus): RPS por endpoint, p50/p95/p99, error rate por status, VUs vs throughput.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

SebastianLuser의 스킬 모두 보기

이 스킬의 문제 신고