{"id":13455864,"url":"https://github.com/six-ddc/plow","last_synced_at":"2025-05-13T18:11:31.067Z","repository":{"id":37987490,"uuid":"376492865","full_name":"six-ddc/plow","owner":"six-ddc","description":"A high-performance HTTP benchmarking tool that includes a real-time web UI and terminal display","archived":false,"fork":false,"pushed_at":"2025-04-02T09:42:04.000Z","size":2907,"stargazers_count":4213,"open_issues_count":21,"forks_count":141,"subscribers_count":29,"default_branch":"main","last_synced_at":"2025-04-25T15:48:41.232Z","etag":null,"topics":["apachebench","cli","http","load","load-testing","performance","realtime","visualization","wrk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/six-ddc.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2021-06-13T09:10:43.000Z","updated_at":"2025-04-24T07:38:09.000Z","dependencies_parsed_at":"2023-02-10T00:15:58.167Z","dependency_job_id":"d755c97c-b93d-4d45-b537-307642f0bcc5","html_url":"https://github.com/six-ddc/plow","commit_stats":{"total_commits":53,"total_committers":11,"mean_commits":4.818181818181818,"dds":0.6415094339622642,"last_synced_commit":"c48d821994dbf216e35ea0108232840801952f13"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/six-ddc%2Fplow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/six-ddc%2Fplow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/six-ddc%2Fplow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/six-ddc%2Fplow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/six-ddc","download_url":"https://codeload.github.com/six-ddc/plow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000855,"owners_count":21997442,"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":["apachebench","cli","http","load","load-testing","performance","realtime","visualization","wrk"],"created_at":"2024-07-31T08:01:12.465Z","updated_at":"2025-05-13T18:11:31.035Z","avatar_url":"https://github.com/six-ddc.png","language":"Go","readme":"# plow \u003c!-- omit in toc --\u003e\n\n[![build](https://github.com/six-ddc/plow/actions/workflows/release.yml/badge.svg)](https://github.com/six-ddc/plow/actions/workflows/release.yml)\n[![Homebrew](https://img.shields.io/badge/dynamic/json.svg?url=https://formulae.brew.sh/api/formula/plow.json\u0026query=$.versions.stable\u0026label=homebrew)](https://formulae.brew.sh/formula/plow)\n[![GitHub license](https://img.shields.io/github/license/six-ddc/plow.svg)](https://github.com/six-ddc/plow/blob/main/LICENSE)\n[![made-with-Go](https://img.shields.io/badge/Made%20with-Go-1f425f.svg)](http://golang.org)\n\nPlow is an HTTP(S) benchmarking tool, written in Golang. It uses\nexcellent [fasthttp](https://github.com/valyala/fasthttp#http-client-comparison-with-nethttp) instead of Go's default\nnet/http due to its lightning fast performance.\n\nPlow runs at a specified connections(option `-c`) concurrently and **real-time** records a summary statistics, histogram\nof execution time and calculates percentiles to display on Web UI and terminal. It can run for a set duration(\noption `-d`), for a fixed number of requests(option `-n`), or until Ctrl-C interrupted.\n\nThe implementation of real-time computing Histograms and Quantiles using stream-based algorithms inspired\nby [prometheus](https://github.com/prometheus/client_golang) with low memory and CPU bounds. so it's almost no\nadditional performance overhead for benchmarking.\n\n![](https://github.com/six-ddc/plow/blob/main/demo.gif?raw=true)\n\n```text\n❯ ./plow http://127.0.0.1:8080/hello -c 20\nBenchmarking http://127.0.0.1:8080/hello using 20 connection(s).\n@ Real-time charts is listening on http://[::]:18888\n\nSummary:\n  Elapsed        8.6s\n  Count        969657\n    2xx        776392\n    4xx        193265\n  RPS      112741.713\n  Reads    10.192MB/s\n  Writes    6.774MB/s\n\nStatistics    Min       Mean     StdDev      Max\n  Latency     32µs      176µs     37µs     1.839ms\n  RPS       108558.4  112818.12  2456.63  115949.98\n\nLatency Percentile:\n  P50     P75    P90    P95    P99   P99.9  P99.99\n  173µs  198µs  222µs  238µs  274µs  352µs  498µs\n\nLatency Histogram:\n  141µs  273028  ■■■■■■■■■■■■■■■■■■■■■■■■\n  177µs  458955  ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■\n  209µs  204717  ■■■■■■■■■■■■■■■■■■\n  235µs   26146  ■■\n  269µs    6029  ■\n  320µs     721\n  403µs      58\n  524µs       3\n```\n\n- [Installation](#installation)\n    - [Via Go](#via-go)\n    - [Via Homebrew](#via-homebrew)\n    - [Via Docker](#via-docker)\n- [Usage](#usage)\n    - [Options](#options)\n    - [Examples](#examples)\n- [Stargazers](#Stargazers)\n- [License](#license)\n\n## Installation\n\nBinary and image distributions are available through the [releases](https://github.com/six-ddc/plow/releases)\nassets page.\n\n### Via Go\n\n```bash\ngo install github.com/six-ddc/plow@latest\n```\n\n### Via Homebrew\n\n```sh\n# brew update\nbrew install plow\n```\n\n### Via Docker\n\n```bash\ndocker run --rm --net=host ghcr.io/six-ddc/plow\n# docker run --rm -p 18888:18888 ghcr.io/six-ddc/plow\n```\n\n## Usage\n\n### Options\n\n```bash\nusage: plow [\u003cflags\u003e] \u003curl\u003e\n\nA high-performance HTTP benchmarking tool with real-time web UI and terminal displaying\n\nExamples:\n\n  plow http://127.0.0.1:8080/ -c 20 -n 100000\n  plow https://httpbin.org/post -c 20 -d 5m --body @file.json -T 'application/json' -m POST\n\nFlags:\n      --help                   Show context-sensitive help.\n  -c, --concurrency=1          Number of connections to run concurrently\n      --rate=infinity          Number of requests per time unit, examples: --rate 50 --rate 10/ms\n  -n, --requests=-1            Number of requests to run\n  -d, --duration=DURATION      Duration of test, examples: -d 10s -d 3m\n  -i, --interval=200ms         Print snapshot result every interval, use 0 to print once at the end\n      --seconds                Use seconds as time unit to print\n      --json                   Print snapshot result as JSON\n  -b, --body=BODY              HTTP request body, if start the body with @, the rest should be a filename to read\n      --stream                 Specify whether to stream file specified by '--body @file' using chunked encoding or to read into memory\n  -m, --method=\"GET\"           HTTP method\n  -H, --header=K:V ...         Custom HTTP headers\n      --host=HOST              Host header\n  -T, --content=CONTENT        Content-Type header\n      --cert=CERT              Path to the client's TLS Certificate\n      --key=KEY                Path to the client's TLS Certificate Private Key\n  -k, --insecure               Controls whether a client verifies the server's certificate chain and host name\n      --listen=\":18888\"        Listen addr to serve Web UI\n      --timeout=DURATION       Timeout for each http request\n      --dial-timeout=DURATION  Timeout for dial addr\n      --req-timeout=DURATION   Timeout for full request writing\n      --resp-timeout=DURATION  Timeout for full response reading\n      --socks5=ip:port         Socks5 proxy\n      --auto-open-browser      Specify whether auto open browser to show Web charts\n      --[no-]clean             Clean the histogram bar once its finished. Default is true\n      --summary                Only print the summary without realtime reports\n      --version                Show application version.\n\n  Flags default values also read from env PLOW_SOME_FLAG, such as PLOW_TIMEOUT=5s equals to --timeout=5s\n\nArgs:\n  \u003curl\u003e  request url\n```\n\n### Examples\n\nBasic usage:\n\n```bash\nplow http://127.0.0.1:8080/ -c 20 -n 10000 -d 10s\n```\n\nPOST a json file:\n\n```bash\nplow https://httpbin.org/post -c 20 --body @file.json -T 'application/json' -m POST\n```\n\n### Bash/ZSH Shell Completion\n\n```bash\n# Add the statement to their bash_profile (or equivalent):\neval \"$(plow --completion-script-bash)\"\n# Or for ZSH\neval \"$(plow --completion-script-zsh)\"\n```\n\n## Stargazers\n\n[![Stargazers over time](https://starchart.cc/six-ddc/plow.svg)](https://starchart.cc/six-ddc/plow)\n\n## License\n\nSee [LICENSE](https://github.com/six-ddc/plow/blob/master/LICENSE).\n","funding_links":[],"categories":["Go","开源类库","Uncategorized","Tools","网络信息服务","cli","Network"],"sub_categories":["HTTP压测","Uncategorized","Go","网络协议","Monitoring / Logging / Event Management"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsix-ddc%2Fplow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsix-ddc%2Fplow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsix-ddc%2Fplow/lists"}