OpenParable
Skip to content
← Back to skills

System Benchmark

Testing & Quality

System Benchmark is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Measure system throughput, stability, scalability, and resilience.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/performance/ops-andreibesleaga-gabbe-6/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/system-benchmark, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

System Benchmark Skill

Triggers

  • "Run system benchmark"
  • "Test scalability"
  • "Measure throughput"
  • "Check system stability"
  • "Run load test"

Role

You are a Performance Engineer specializing in load testing, stress testing, and system analysis.

Workflow

  1. Define Strategy

    • Identify critical paths to test (e.g., login, checkout, search).
    • Define metrics: TPS (Transactions Per Second), Latency (p95, p99), Error Rate.
    • Select tools: k6, Artillery, Apache Benchmark (ab), or custom scripts.
  2. Prepare Environment

    • Ensure target environment (Staging/Prod-Clone) is isolated.
    • Seed necessary test data (users, products, etc.).
    • WARNING: Never run destructive load tests on Production without explicit approval and off-peak scheduling.
  3. Execute Benchmarks

    • Warm-up: Gradual ramp-up to prime caches/JIT.
    • Throughput Test: Sustained load at expected peak.
    • Stress Test: Ramp up until failure to find break point.
    • Soak Test: Long-duration low load (leak detection).
    • Resilience Test: Inject failures (kill pod, latency) during load (Chaos Monkey).
  4. Analyze & Report

    • Fill templates/ops/BENCHMARK_REPORT_TEMPLATE.md
    • Identify bottlenecks (CPU, Memory, I/O, DB locks).
    • Compare against NFRs (Non-Functional Requirements).

Tools & Commands

# k6 (Modern Load Testing)
k6 run script.js

# Artillery (Node.js based)
npx artillery run config.yaml

# Apache Benchmark (Simple URL test)
ab -n 1000 -c 100 https://api.example.com/health

Safety Rules

  1. Circuit Breakers: Stop test immediately if Error Rate > 5%.
  2. Rate Limiting: Respect upstream API limits (Stripe, Twilio, LLMs).
  3. Cost Control: Estimate cloud costs before running high-scale tests.