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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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