An HTTP/1.1 benchmarking tool written in node, greatly inspired by wrk and wrk2, with support for HTTP pipelining and HTTPS. If the PORT environment variable is set, the URL can be a path. Use a warm up interval before starting sampling. This enables startup processes to finish and traffic to normalize before sampling begins. There are two tables, one for the request latency, and one for the request volume. The latency table lists the request times at the 2.5% percentile, the fast outliers; at 50%, the median; at 97.5%, the slow outliers; at 99%, the very slowest outliers. Here, lower means faster. When in workers mode, you need to pass in an absolute file path to all the options that accept a function. This is because a function passed into the main process can not be cloned and passed to the worker. So instead, it needs a file that it can require. When combining a fixed amount of requests with concurrent connections and an overallRate limit, autocannon will distribute the requests.

Features

  • Written in node, greatly inspired by wrk and wrk2
  • Supports HTTP pipelining and HTTPS
  • AutoCannon can produce more load than wrk and wrk2
  • Start autocannon against the given target
  • Customize sent requests
  • Combine connections, overallRate and amount

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow AutoCannon

AutoCannon Web Site

Other Useful Business Software
99.99% Uptime for MySQL and PostgreSQL on Google Cloud Icon
99.99% Uptime for MySQL and PostgreSQL on Google Cloud

Enterprise Plus edition delivers sub-second maintenance downtime and 2x read/write performance. Built for critical apps.

Cloud SQL Enterprise Plus gives you a 99.99% availability SLA with near-zero downtime maintenance—typically under 10 seconds. Get 2x better read/write performance, intelligent data caching, and 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server with built-in vector search for gen AI apps. New customers get $300 in free credit.
Try Cloud SQL Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AutoCannon!

Additional Project Details

Operating Systems

Windows

Programming Language

JavaScript

Registered

2021-11-10