npx autocannon -c 50 -d 20 http://localhost:3000/

Category: Web App Development

npx autocannon -c 50 -d 20 http://localhost:3000/

Benchmark with autocannon at 50 connections

Runs a 20 second benchmark with 50 concurrent connections and prints a rich table of latency percentiles and request rates. autocannon is a Node.js load tester that supports pipelining and warmup phases. Add -a to cap total requests instead of duration.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.