Skip to content
Development
Command

/benchmark

Run performance benchmarks against API endpoints.

From plugin
rohitg00-claude-code-toolkit
2.8k199 skills138 agents199 commands
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

Command definition

benchmark.md

/benchmark - Benchmark API Endpoints

Run performance benchmarks against API endpoints.

Steps

1. Ask the user for the target endpoint URL and HTTP method 2. Configure the request: headers, authentication, request body, query parameters 3. Run a warmup phase: 10 requests to prime caches and connections 4. Execute the benchmark with configurable parameters:

  • Concurrent connections (default: 10)
  • Total requests (default: 1000)
  • Duration-based (alternative to request count)

5. Capture per-request metrics: response time, status code, response size 6. Calculate statistics: min, max, mean, median, p95, p99 response times 7. Calculate throughput: requests per second, bytes per second 8. Record error rate and categorize errors by status code 9. Detect performance degradation over the benchmark duration 10. Compare against SLA targets if defined 11. Save raw results in JSON format for further analysis 12. Present a formatted summary with key metrics and pass/fail status

Rules

  • Always include a warmup phase before measuring
  • Use keep-alive connections to simulate realistic client behavior
  • Record and report all HTTP status codes, not just 200s
  • Include connection time separately from response time
  • Do not benchmark production endpoints without explicit permission
  • Run from a network location representative of actual users
  • Report the server and client environment for reproducibility
Read more
@rohitg00
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

2.8k40 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.8k
Star history of rohitg00/awesome-claude-code-toolkit on GitHub, a chart by star-history.com

Other commands on rohitg00-claude-code-toolkit.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command