Suggest a tool

Locust vs Vegeta: open-source performance and load testing tools compared

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

Summary

Locust: Load testing tool for HTTP and other protocols with scenarios written in Python and a web UI.

Vegeta: HTTP load testing CLI and Go library that sends requests at a constant rate with text, JSON and histogram reports.

Both are listed under Performance and load testing. The table gives repository metrics from the GitHub API with their fetch date, then the documented facts used for every comparison in this category, each linked to the README or docs page it comes from. A cell reads "not documented" when the fact was not found in the project's documentation (1 of 12 fact cells here); that does not mean the feature is absent.

Side by side

Locust and Vegeta: metrics and documented facts, in the fixed row order used for performance and load testing comparisons.
FactLocustVegeta
Stars28,177125,2001
Forks3,24611,4211
Contributors4041841
Last release2026-09-1712025-10-311
Last commit2026-09-2112026-02-161
Commits in 90 days160101
LicenseMIT1MIT1
Primary languagePython1Go1
Statusactive1slow1
ProtocolsHTTP; other protocols and systems through user-written clients source: READMEHTTP, with HTTP/2 to servers that support it and h2c source: README
Test authoring formatCode (Python locustfiles) source: READMECommand-line tool reading targets files (http or JSON format), or Go code using the library source: README
Distributed or parallel loadDistributed runs with one --master process and one or more --worker processes, on one or several machines source: Docs: Distributed load generationDistributed attacks across several machines, each sending part of the rate (pdsh example) source: README
CI integrationHeadless mode in CI/CD pipelines, with a GitHub Actions example source: Docs: Running without the web UInot documentednot found in the project's documentation as of
Report formatsCSV stats files (--csv), HTML report (--html), JSON stats (--json) source: Docs: ConfigurationText, JSON, histogram and HdrHistogram plot reports; HTML latency plot; CSV, gob and JSON encodings source: README
Install methodpip (pip install locust) source: Docs: InstallationPre-compiled executables; Homebrew (brew install vegeta), MacPorts, pacman, FreeBSD pkg source: README

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

When each fits

Written from each project's documented scope, not from preference. Neither tool is ranked.

Locust

Fits projects that load test HTTP services and other protocols; its README describes tests defined in regular Python code. source: README

Vegeta

Fits projects that load test HTTP services at a constant request rate; its README describes use as a command line tool and as a Go library. source: README

More on these tools

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: repository, read
  3. GitHub REST API: contributors, read
  4. GitHub REST API: contributors, read
  5. GitHub REST API: latest release, read
  6. GitHub REST API: latest release, read
  7. GitHub REST API: commits, read
  8. GitHub REST API: commits, read
  9. README, read
  10. README, read
  11. Docs: Distributed load generation, read
  12. Docs: Running without the web UI, read
  13. Docs: Configuration, read
  14. Docs: Installation, read

Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.