{"id":13440299,"url":"https://github.com/wg/wrk","last_synced_at":"2025-05-14T09:02:53.784Z","repository":{"id":2775147,"uuid":"3774328","full_name":"wg/wrk","owner":"wg","description":"Modern HTTP benchmarking tool","archived":false,"fork":false,"pushed_at":"2023-12-30T10:33:51.000Z","size":38743,"stargazers_count":38907,"open_issues_count":199,"forks_count":2989,"subscribers_count":749,"default_branch":"master","last_synced_at":"2025-05-07T08:02:12.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-03-20T11:12:28.000Z","updated_at":"2025-05-07T07:11:28.000Z","dependencies_parsed_at":"2023-02-10T19:30:39.307Z","dependency_job_id":"faf6133c-d41d-46be-9ecb-a4505f49b907","html_url":"https://github.com/wg/wrk","commit_stats":{"total_commits":80,"total_committers":1,"mean_commits":80.0,"dds":0.0,"last_synced_commit":"a211dd5a7050b1f9e8a9870b95513060e72ac4a0"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wg%2Fwrk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wg%2Fwrk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wg%2Fwrk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wg%2Fwrk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wg","download_url":"https://codeload.github.com/wg/wrk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254110363,"owners_count":22016391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T03:01:21.495Z","updated_at":"2025-05-14T09:02:53.732Z","avatar_url":"https://github.com/wg.png","language":"C","readme":"# 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's 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, will have no performance impact. Per-request actions, particularly\n  building a new HTTP request, and use of response() will necessarily reduce\n  the amount of load that can be generated.\n\n## Acknowledgements\n\n  wrk contains code from a number of open source projects including the\n  'ae' event loop from redis, the nginx/joyent/node.js 'http-parser',\n  and Mike Pall's LuaJIT. Please consult the NOTICE file for licensing\n  details.\n\n## Cryptography Notice\n\n  This distribution includes cryptographic software. The country in\n  which you currently reside may have restrictions on the import,\n  possession, use, and/or re-export to another country, of encryption\n  software. BEFORE using any encryption software, please check your\n  country's laws, regulations and policies concerning the import,\n  possession, or use, and re-export of encryption software, to see if\n  this is permitted. See \u003chttp://www.wassenaar.org/\u003e for more\n  information.\n\n  The U.S. Government Department of Commerce, Bureau of Industry and\n  Security (BIS), has classified this software as Export Commodity\n  Control Number (ECCN) 5D002.C.1, which includes information security\n  software using or performing cryptographic functions with symmetric\n  algorithms. The form and manner of this distribution makes it\n  eligible for export under the License Exception ENC Technology\n  Software Unrestricted (TSU) exception (see the BIS Export\n  Administration Regulations, Section 740.13) for both object code and\n  source code.\n","funding_links":[],"categories":["C","HarmonyOS","Misc","Http/Https/Grpc Dev\u0026Ops工具与服务","Development","Benchmarking","压测工具","Load Impact Tools","开发运维工具","Testing","\u003ca name=\"performance\"\u003e\u003c/a\u003eperformance","HTTP/HTTPS/gRPC","C (286)","Bench Test","others","网络服务","性能测试","Uncategorized","Web server Benchmarks","Programming Languages","Webserver Benchmarks","http benchmarking","⚡ Performance Engineering","Load testing"],"sub_categories":["Windows Manager","Time Series","Load, stress \u0026 soak testing","Load Testing \u0026 Benchmarking","网络服务_其他","HTTP接口性能测试","Uncategorized","Meetups","C","Ferramentas de Performance","collection"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwg%2Fwrk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwg%2Fwrk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwg%2Fwrk/lists"}