Elestia Open Source Ratings
7.0

autocannon

A strong pick. 3rd of 8 benchmarks and load testing.

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.

GitHubnpm

Scores

Overall7.0

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.0, likely 6.0 to 7.5

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.

  • npm latestPublishedAt: v9.0.0 published Nov 6, 2026.
  • github.com/fastify/benchmarks: Used as a reference load tool.
  • peers Artillery: Artillery has 189 commits in the last year, against 8 for autocannon.

GPT-6.2 Sol: 7.0, likely 5.8 to 8.1

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 many4.7

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.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, likely 3.2 to 5.5

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 lot7.1

How well does it do the job for those who need it?

Claude Opus 5.5: 7.0, likely 6.0 to 8.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, likely 5.9 to 8.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 time5.9

Will it still be a good choice in two years?

Claude Opus 5.5: 6.0, likely 4.5 to 7.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, likely 4.2 to 7.2

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 widely4.8

How many use it, and is that growing?

Claude Opus 5.5: 5.5, likely 4.5 to 6.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.

  • npm downloadsLast4Weeks: 3,756,325 now vs 899,563 a year ago.
  • dependents: 1,185 repos and 248 packages depend on it.
  • github stars: 8,544 stars.
  • bluesky posts: Only 1 post, from a bot-like listing.

GPT-6.2 Sol: 4.1, likely 2.9 to 5.4

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.

  • dependents: 1,185 indexed repositories and 248 indexed packages.
  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, and medianDownloadsRatio: 3.76 million versus 0.90 million downloads, or 4.18× against a 4.1× median.
  • peers.Artillery: Artillery has 1,642 indexed dependent repositories and 1.50 million recent downloads.
  • github.stars, bluesky.posts, and hackerNews.stories: 8,544 stars, one recent Bluesky link, and zero matched Hacker News stories.
  • github.com/clinicjs/node-clinic/blob/main/package.json: Clinic.js installs Autocannon as a dependency.
Vouched for6.7

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 4.5 to 7.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, likely 6.2 to 8.4

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.

Safe6.5

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.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.

  • advisories total: 0 advisories.
  • scorecard score: 4.7; Branch-Protection, Security-Policy and Pinned-Dependencies all score 0.
  • npm dependencies: 23 direct dependencies.
  • npm license: MIT

GPT-6.2 Sol: 6.0, likely 4.7 to 7.4

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

npm downloads, 4 weeks
3.8M ×4.2 in a year
GitHub stars
8.5k
Commits, 12 months
8
npm version
9.0.0 Nov 2026
Versions, 12 months
1
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
4.7 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (mcollina/autocannon), npm (autocannon), OSV and the OpenSSF Scorecard.

Benchmarks and load testing

  1. 8.2Tinybench
  2. 7.2Artillery
  3. 7.0autocannon
  4. 5.9bench-node
  5. 5.8mitata
  6. 5.20x
  7. 2.9Benchmark.js
  8. 2.9Clinic.js
Compare all 8 on six scores