wrk
brew install wrk
v4.2.0_2
LicenseRef-Homebrew-cannot-represent
HTTP benchmarking tool
662
30-day installs · #1562
2.8k
90-day · #1391
7.7k
365-day · #1603
40.3k
★ GitHub stars · updated 2y ago
Runtime dependencies
Links
- https://github.com/wg/wrk
- GitHub: wg/wrk
- Brew formula source: Formula/w/wrk.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"luajit",
"openssl@4"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "HTTP benchmarking tool",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:32+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "wrk",
"github_default_branch": "master",
"github_last_commit_at": "2023-12-30T10:33:51Z",
"github_readme_excerpt": "# wrk - a HTTP benchmarking tool\n\n wrk is a modern HTTP benchmarking tool capable of generating significant\n load when run on a single multi-core CPU. It combines a multithreaded\n design with scalable event notification systems such as epoll and kqueue.\n\n An optional LuaJIT script can perform HTTP request generation, response\n processing, and custom reporting. Details are available in SCRIPTING and\n several examples are located in [scripts/](scripts/).\n\n## Basic Usage\n\n wrk -t12 -c400 -d30s http://127.0.0.1:8080/index.html\n\n This runs a benchmark for 30 seconds, using 12 threads, and keeping\n 400 HTTP connections open.\n\n Output:\n\n Running 30s test @ http://127.0.0.1:8080/index.html\n 12 threads and 400 connections\n Thread Stats Avg Stdev Max +/- Stdev\n Latency 635.91us 0.89ms 12.92ms 93.69%\n Req/Sec 56.20k 8.07k 62.00k 86.54%\n 22464657 requests in 30.00s, 17.76GB read\n Requests/sec: 748868.53\n Transfer/sec: 606.33MB\n\n## Command Line Options\n\n -c, --connections: total number of HTTP connections to keep open with\n each thread handling N = connections/threads\n\n -d, --duration: duration of the test, e.g. 2s, 2m, 2h\n\n -t, --threads: total number of threads to use\n\n -s, --script: LuaJIT script, see SCRIPTING\n\n -H, --header: HTTP header to add to request, e.g. \"User-Agent: wrk\"\n\n --latency: print detailed latency statistics\n\n --timeout: record a timeout if a response is not received within\n this amount of time.\n\n## Benchmarking Tips\n\n The machine running wrk must have a sufficient number of ephemeral ports\n available and closed sockets should be recycled quickly. To handle the\n initial connection burst the server\u0027s listen(2) backlog should be greater\n than the number of concurrent connections being tested.\n\n A user script that only changes the HTTP method, path, adds headers or\n a body, ",
"github_repo": "wg/wrk",
"github_stars": 40332,
"github_topics": [],
"homepage": "https://github.com/wg/wrk",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 662,
"installs_365d": 7696,
"installs_90d": 2817,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "LicenseRef-Homebrew-cannot-represent",
"llm_generated_at": null,
"llm_model": null,
"name": "wrk",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 1562,
"rank_365d": 1603,
"rank_90d": 1391,
"raw_hash": "c2b45cde4f23cf7a",
"recommended_dependencies": [],
"revision": 2,
"ruby_source_path": "Formula/w/wrk.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "4.2.0",
"versioned_formulae": [],
"why_use_this": null
}