CheckOps
autocannon
autocannon is an MIT-licensed HTTP/1.1 benchmarking tool written in Node.js, inspired by wrk and wrk2, with HTTP pipelining, HTTPS support and a programmatic API.
Latest public signals
Last updated: 11 November 2026 (page expanded from the official README or site).
Introduction
autocannon is an HTTP/1.1 benchmarking tool written in Node.js by Matteo Collina, greatly inspired by wrk and wrk2, with support for HTTP pipelining and HTTPS. It can be used from the command line or as a library inside Node.js scripts and tests.
The source code is at mcollina/autocannon on GitHub under the MIT licence, with about 8,500 stars; the most recent commit was on 6 November 2026.
autocannon is an HTTP/1.1 benchmarking tool written in Node.js, inspired by wrk and wrk2, with support for HTTP pipelining and HTTPS. Its output is two tables: request latency at the 2.5th, 50th, 97.5th and 99th percentiles (plus average, standard deviation and maximum), and request volume per second. It can be used from the command line or as a library through its API, which makes it convenient inside Node.js test scripts.
Where it fits: on CheckOps, autocannon is listed alongside alternatives such as Artillery, K6, bombardier and oha. When comparing them, check licence and hosting model, how results reach developers (pull requests, CI logs or dashboards), how much tuning is needed to keep noise low, and whether the project or vendor is actively maintained.
Features
- CLI and API: Run from the terminal or programmatically.
- Pipelining: HTTP/1.1 pipelining support.
- HTTPS: Benchmark TLS endpoints.
- Requests with bodies and headers: Configure methods, headers and payloads.
- Latency and throughput tables: Summary statistics after each run.
Pros
- Free to use: Open source under MIT.
- Maintained: Commits as recent as 6 November 2026.
- Community: About 8,500 GitHub stars.
Cons
- HTTP/1.1 focus: Not designed for HTTP/2.
- Node.js runtime: Load generation is bound by Node’s event loop; see the README’s limitations section.
Usage and Links (Example)
npm i autocannon -g
autocannon -c 100 -d 30 https://staging.example.com/
Resources:
Getting started tips: run autocannon against a production-like test environment, never an unprepared shared system, and agree the target throughput and latency thresholds before the test. Start with a short smoke test, increase load gradually, watch server-side metrics alongside the tool’s client-side numbers, and keep test scripts in version control so results can be repeated and compared between releases.
Pricing
autocannon is free and open source under the MIT licence.
Recommended for?
- Node.js teams benchmarking services from JavaScript.
- Library authors adding performance checks to tests.
- Not a fit for HTTP/2 or browser-level load.
Conclusion
autocannon is the go-to Node.js HTTP benchmarker, with a handy programmatic API.
As with any tool in this category, the value of autocannon comes from running it consistently and acting on what it finds, so wire it into an existing workflow rather than treating it as an occasional audit.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with autocannon side by side.
AArtilleryThe complete load testing platform.Compare with autocannon
KK6k6 is an open-source tool and cloud service that makes load testing easy for developers and QA engineers.Compare with autocannon
Bbombardierbombardier is a fast, cross-platform MIT-licensed HTTP(S) benchmarking tool in Go that uses fasthttp, with an optional net/http client for HTTP/2.Compare with autocannon
Oohaoha is an MIT-licensed Rust HTTP load generator inspired by hey, with a real-time terminal UI showing progress, latency and status codes as the test runs.Compare with autocannon
Hheyhey is a tiny Apache-2.0 HTTP load generator written in Go, originally called boom, used as a simple replacement for ApacheBench (ab).Compare with autocannon- VVegetaHTTP load testing tool and library.Compare with autocannon