CheckOps home

Tools directory

A

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.

Visit website

Latest public signals

Last updated: 11 November 2026 (page expanded from the official README or site).

Visit Website

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

  1. CLI and API: Run from the terminal or programmatically.
  2. Pipelining: HTTP/1.1 pipelining support.
  3. HTTPS: Benchmark TLS endpoints.
  4. Requests with bodies and headers: Configure methods, headers and payloads.
  5. Latency and throughput tables: Summary statistics after each run.

Pros

  1. Free to use: Open source under MIT.
  2. Maintained: Commits as recent as 6 November 2026.
  3. Community: About 8,500 GitHub stars.

Cons

  1. HTTP/1.1 focus: Not designed for HTTP/2.
  2. Node.js runtime: Load generation is bound by Node’s event loop; see the README’s limitations section.
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.

  1. Node.js teams benchmarking services from JavaScript.
  2. Library authors adding performance checks to tests.
  3. 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.