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.
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.
- github.com/mcollina/autocannon: Straightforward CLI and Node.js API for endpoint measurements.
- loadfocus.com/blog/autocannon-load-testing: Hands-on v9 testing shows both quick setup and a latency measurement defect.
- artillery.io/docs/get-started/load-testing: Artillery supports arrival ramps, browser workflows, and distributed execution.
- github.commitsLastYear and npm.versionsLastYear: Eight commits and one npm release limit confidence in maintenance cadence.
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.
- github description: Describes itself as a fast HTTP/1.1 benchmarking tool.
- npm-compare.com/autocannon,k6,loadtest: Compared with k6 and loadtest as a Node HTTP load tester.
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.
- 2025.stateofjs.com/en-US/other-tools: Node.js was the most used runtime among respondents.
- github.com/mcollina/autocannon: Node.js CLI and API for HTTP/1.1 benchmarking.
- reddit.com/r/node/comments/1jw2ti0/load_testing_for_rest_api: A practitioner recommends it for simple endpoint measurements.
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.
- nearform.com/blog/load-testing-with-autocannon: Worker threads raised it from about 54k to 112k req/s in the article's test, above wrk's result.
- apidog.com/blog/autocannon-load-testing: A step-by-step guide shows the CLI and API usage.
- npm hasTypes: No bundled TypeScript types.
- npm-compare.com/autocannon,k6,loadtest: k6 offers scripting, thresholds and CI integration that autocannon lacks.
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.
- github.com/mcollina/autocannon: Documents the CLI, API, worker threads, and CPU limits.
- loadfocus.com/blog/autocannon-load-testing: Independent v9 measurements show distorted rate-limited latency percentiles.
- raw.githubusercontent.com/mcollina/autocannon/3774f486/lib/run.js: The v9 source confirms how the latency correction interval is calculated.
- npmjs.com/package/@types/autocannon: TypeScript declarations are published separately.
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.
- github.com/mcollina/autocannon/commits/master: v9.0.0 bump on Nov 6, 2026, a test migration to node:test, and fixes on Nov 15–16.
- github.com/mcollina/autocannon/releases: The latest GitHub release is still v8.0.0 from Oct 2024.
- github commitsLastYear: Only 8 commits in the last year.
- github contributors: 96 contributors over the project's life.
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.
- github.commitsLastYear and npm.versionsLastYear: Eight commits and one npm release in the past year.
- npm.latestVersion and npm.latestPublishedAt: Stable v9.0.0 was published on November 6, 2026.
- peers.Artillery.commitsLastYear: Artillery recorded 189 commits in the same period.
- github.com/mcollina/autocannon/releases: The latest GitHub release notes cover v8.0.0.
- github.com/mcollina/autocannon/pull/543: Dependencies were refreshed for v9.
- github.com/mcollina/autocannon/pull/550: CI moved to Node.js 22 and 24.
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.
- github.com/fastify/benchmarks: Uses autocannon -c 100 -d 40 -p 10; last run Nov 2026.
- nearform.com/blog/load-testing-with-autocannon: A consultancy write-up with a comparison against wrk.
- hackerNews stories: No HN stories.
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.
- github.com/nodejs/node/blob/main/doc/contributing/writing-and-running-benchmarks.md: Node.js core supports it for HTTP and HTTPS benchmarks.
- tanstack.com/blog/tanstack-start-5x-ssr-throughput: TanStack Start used it to measure server-rendering changes under sustained load.
- github.com/fastify/benchmarks/blob/main/README.md: Fastify's November 2026 framework comparisons used it.
- github.com/KidlatJS/benchmarks: A separate framework benchmark suite uses it for multiple endpoint workloads.
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.
- advisories.total and npm.license: Zero direct OSV advisories and an MIT license.
- npm.dependencies and scorecard.checks: 23 direct dependencies, several zero-rated safeguards, and signing and packaging checks unscored.
- github.com/mcollina/autocannon/security: GitHub detects no security policy and lists no published project advisories.
- loadfocus.com/blog/autocannon-load-testing: Registry metadata ties the author's v9 publish to the version-bump commit.
- npmjs.com/package/autocannon?activeTab=dependents: An older registry snapshot lists three collaborators.
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.