# autocannon: 7.0 out of 10

A strong pick. 3rd of 8 in [Benchmarks and load testing](https://elestia.ai/opensource/benchmarks/index.md).

autocannon is a fast HTTP/1.1 load-testing tool written in Node.js, with a CLI and a programmatic API. It is a strong, simple pick when you need to hammer a Node HTTP server from a script or CI. For scripted multi-step scenarios or other protocols, Artillery or k6 fit better, and it does not measure how fast code runs in-process.

**Best for:** Node.js backend developers who want a quick, scriptable HTTP throughput and latency test from npm.

## Scores

- **Overall: 7.0** (likely 5.9 to 7.8)
  - Claude Opus 5.5 (7.0): It is the go-to npm tool for fast HTTP load tests of Node servers. It is backed by Fastify's benchmarks and got a fresh v9 release. Thin, single-maintainer activity and a narrow HTTP/1.1 feature set keep it below a category default. Artillery suits scenario testing better, and Tinybench covers code microbenchmarks.
  - GPT-6.2 Sol (7.0): Autocannon is a strong choice for quick HTTP/1.1 endpoint benchmarks and for comparing server changes under the same conditions. Artillery is the stronger choice for staged traffic, browser journeys, and distributed runs. Slow maintenance and the rate-limited latency defect make the recommendation depend on how the team plans to test.
- **Needed by many: 4.7** (likely 3.6 to 5.8)
  - Claude Opus 5.5 (5.0): Load testing HTTP servers matters to many backend developers, but not to most JS developers in most projects. It covers only the server-load half of the category, and only HTTP/1.1. It is not a microbenchmark tool like Tinybench.
  - GPT-6.2 Sol (4.3): Autocannon serves teams that need to measure how HTTP/1.1 endpoints behave under load. It runs on Node.js and can target servers written in other languages. The State of JavaScript survey establishes that Node.js is widely used, while demand for this specific kind of benchmark remains harder to measure.
- **Helps a lot: 7.1** (likely 6.0 to 8.1)
  - Claude Opus 5.5 (7.0): It is very fast for a Node tool. Worker threads, pipelining, request chaining, body verification and a clean percentile table make it good at its narrow job. It lacks scenario scripting, thresholds, other protocols and bundled types, which Artillery and k6 cover better for complex tests.
  - GPT-6.2 Sol (7.1): Version 9 makes simple benchmarks easy to run and documents how to script request sequences, check responses, and collect results. An independent test found that the default correction in a rate-limited run reported a 13 ms median for an endpoint that never answered in under 25 ms. The generator can also become CPU-bound, so the quality of results depends on the workload and test setup.
- **Holds up over time: 5.9** (likely 4.4 to 7.1)
  - Claude Opus 5.5 (6.0): Activity is low but alive. There were 8 commits in the last year, and v9.0.0 reached npm in November 2026 after two quiet years. Fixes followed within days. It depends mostly on Matteo Collina, a core Node figure, which is both a strength and a single point of failure.
  - GPT-6.2 Sol (5.7): The November 2026 npm release refreshed dependencies and modernized CI after a long release gap. Autocannon recorded eight commits and one npm release in the past year, while Artillery recorded 189 commits. GitHub still lists v8 as its latest release, and the sparse release history makes future update and response times hard to predict.
- **Used widely: 4.8** (likely 3.7 to 6.0)
  - Claude Opus 5.5 (5.5): About 3.76M downloads in 4 weeks, up 4.18x from a year ago. That is in line with the 4.1 median, so it holds ground but does not gain any. 1,185 dependent repos and 8.5k stars put it near Artillery and well above mitata and Clinic.js. Some downloads likely come through other tools that depend on it.
  - GPT-6.2 Sol (4.1): Indexed use is substantial for a focused tool, with 1,185 dependent repositories and 248 npm packages. Artillery has more indexed repositories despite fewer downloads, and tools such as Clinic.js install Autocannon automatically. Downloads grew 4.18× year over year, just above the 4.1× catalog median, so the four-week snapshot suggests only a small relative gain.
- **Vouched for: 6.7** (likely 5.4 to 7.7)
  - Claude Opus 5.5 (6.0): Fastify's framework benchmark suite runs on it and was still updated in November 2026, and NearForm documented its performance. Independent current write-ups are few, and there is no survey data or HN discussion.
  - GPT-6.2 Sol (7.3): Node.js core documents Autocannon as an HTTP benchmarker, and TanStack Start used it to measure server-rendering improvements in 2026. Fastify uses it for recurring framework benchmarks, with maintainer overlap that limits the independence of that signal. These uses support confidence in endpoint comparisons, while evidence from large production-style workloads is thinner.
- **Safe: 6.5** (likely 5.4 to 7.7)
  - Claude Opus 5.5 (7.0): It has no advisories ever and an MIT licence. It is a dev-time tool, so it is rarely in production paths. The Scorecard is weak at 4.7, with no branch protection, security policy or pinned dependencies, and it pulls in 23 dependencies.
  - GPT-6.2 Sol (6.0): The package uses the permissive MIT license, and OSV lists zero advisories for Autocannon itself. It has 23 direct dependencies, and its 4.7 OpenSSF Scorecard gives zero for branch protection, dependency pinning, and a security policy. The v9 publish is linked to a source commit, while current publishing permissions and release safeguards remain unclear.

## Good

- It installs from npm and works as a CLI or a JS API, so one command or a few lines produce throughput and latency percentiles.
- Worker threads and HTTP pipelining let it generate very high request rates, competitive with wrk.
- Fastify's public framework benchmarks use it, so it is a well-known reference tool in the Node server world.
- Version 9.0.0 shipped in November 2026 with updated dependencies and fixes after a two-year gap.

## Bad

- It speaks only HTTP/1.1, with no HTTP/2, WebSocket or browser scenarios, and it has no built-in thresholds or CI pass/fail gates like k6 or Artillery.
- The package ships no bundled TypeScript types and pulls in 23 dependencies.
- Maintenance comes in bursts and relies mostly on one maintainer, with no GitHub release notes for v9.
- Each worker runs single-threaded, so the load generator can become the bottleneck unless you tune the workers.

## The numbers

- Downloads, 4 weeks: 3.8M
- In a year: ×4.2
- GitHub stars: 8.5k
- Commits, 12 months: 8
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/mcollina/autocannon
- npm: https://www.npmjs.com/package/autocannon

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
