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
| Fact | Locust | Vegeta |
|---|---|---|
| Stars | 28,1771 | 25,2001 |
| Forks | 3,2461 | 1,4211 |
| Contributors | 4041 | 841 |
| Last release | 2026-09-171 | 2025-10-311 |
| Last commit | 2026-09-211 | 2026-02-161 |
| Commits in 90 days | 1601 | 01 |
| License | MIT1 | MIT1 |
| Primary language | Python1 | Go1 |
| Status | active1 | slow1 |
| Protocols | HTTP; other protocols and systems through user-written clients source: README | HTTP, with HTTP/2 to servers that support it and h2c source: README |
| Test authoring format | Code (Python locustfiles) source: README | Command-line tool reading targets files (http or JSON format), or Go code using the library source: README |
| Distributed or parallel load | Distributed runs with one --master process and one or more --worker processes, on one or several machines source: Docs: Distributed load generation | Distributed attacks across several machines, each sending part of the rate (pdsh example) source: README |
| CI integration | Headless mode in CI/CD pipelines, with a GitHub Actions example source: Docs: Running without the web UI | not documentednot found in the project's documentation as of |
| Report formats | CSV stats files (--csv), HTML report (--html), JSON stats (--json) source: Docs: Configuration | Text, JSON, histogram and HdrHistogram plot reports; HTML latency plot; CSV, gob and JSON encodings source: README |
| Install method | pip (pip install locust) source: Docs: Installation | Pre-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
- GitHub REST API: repository, read
- GitHub REST API: repository, read
- GitHub REST API: contributors, read
- GitHub REST API: contributors, read
- GitHub REST API: latest release, read
- GitHub REST API: latest release, read
- GitHub REST API: commits, read
- GitHub REST API: commits, read
- README, read
- README, read
- Docs: Distributed load generation, read
- Docs: Running without the web UI, read
- Docs: Configuration, read
- Docs: Installation, read
Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.