https://github.com/codesenberg/bombardier Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions By size + Enterprise + Teams + Startups By industry + Healthcare + Financial services + Manufacturing By use case + CI/CD & Automation + DevOps + DevSecOps * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} codesenberg / bombardier Public * Notifications You must be signed in to change notification settings * Fork 311 * Star 5.7k Fast cross-platform HTTP benchmarking tool written in Go License MIT license 5.7k stars 311 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 17 * Pull requests 5 * Actions * Wiki * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Wiki * Security * Insights codesenberg/bombardier This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master BranchesTags Go to file Code Folders and files Last Last Name Name commit commit message date Latest commit History 110 Commits .github .github .semaphore .semaphore cmd/utils/simplebenchserver cmd/utils/simplebenchserver docs docs img img internal internal template template .gitignore .gitignore LICENSE LICENSE README.md README.md args_parser.go args_parser.go args_parser_test.go args_parser_test.go bombardier.go bombardier.go bombardier_performance_test.go bombardier_performance_test.go bombardier_test.go bombardier_test.go build.py build.py client_cert.go client_cert.go client_cert_test.go client_cert_test.go clients.go clients.go clients_test.go clients_test.go common.go common.go completion_barriers.go completion_barriers.go completion_barriers_test.go completion_barriers_test.go config.go config.go config_test.go config_test.go dialer.go dialer.go doc.go doc.go error_map.go error_map.go error_map_test.go error_map_test.go flags.go flags.go flags_test.go flags_test.go format.go format.go format_test.go format_test.go go.mod go.mod go.sum go.sum headers.go headers.go headers_test.go headers_test.go limiter.go limiter.go limiter_barrier_test.go limiter_barrier_test.go limiter_test.go limiter_test.go proxy_reader.go proxy_reader.go rateestimator.go rateestimator.go rateestimator_test.go rateestimator_test.go templates.go templates.go testbody.txt testbody.txt testclient.cert testclient.cert testclient.key testclient.key testserver.cert testserver.cert testserver.key testserver.key View all files Repository files navigation * README * MIT license bombardier Build Status Go Report Card GoDoc Logo bombardier is a HTTP(S) benchmarking tool. It is written in Go programming language and uses excellent fasthttp instead of Go's default http library, because of its lightning fast performance. With bombardier v1.1 and higher you can now use net/http client if you need to test HTTP/2.x services or want to use a more RFC-compliant HTTP client. Tested on go1.18 and higher. Installation You can grab binaries in the releases section. Alternatively, to get latest and greatest run: Go 1.18+: go install github.com/codesenberg/bombardier@latest Usage bombardier [] For a more detailed information about flags consult GoDoc. Known issues AFAIK, it's impossible to pass Host header correctly with fasthttp, you can use net/http(--http1/--http2 flags) to workaround this issue. Examples Example of running bombardier against this server: > bombardier -c 125 -n 10000000 http://localhost:8080 Bombarding http://localhost:8080 with 10000000 requests using 125 connections 10000000 / 10000000 [============================================] 100.00% 37s Done! Statistics Avg Stdev Max Reqs/sec 264560.00 10733.06 268434 Latency 471.00us 522.34us 51.00ms HTTP codes: 1xx - 0, 2xx - 10000000, 3xx - 0, 4xx - 0, 5xx - 0 others - 0 Throughput: 292.92MB/s Or, against a realworld server(with latency distribution): > bombardier -c 200 -d 10s -l http://ya.ru Bombarding http://ya.ru for 10s using 200 connections [=========================================================================] 10s Done! Statistics Avg Stdev Max Reqs/sec 6607.00 524.56 7109 Latency 29.86ms 5.36ms 305.02ms Latency Distribution 50% 28.00ms 75% 32.00ms 90% 34.00ms 99% 48.00ms HTTP codes: 1xx - 0, 2xx - 0, 3xx - 66561, 4xx - 0, 5xx - 0 others - 5 Errors: dialing to the given TCP address timed out - 5 Throughput: 3.06MB/s About Fast cross-platform HTTP benchmarking tool written in Go Topics go windows macos linux cli fast golang http benchmarking performance load-testing bombardier Resources Readme License MIT license Activity Stars 5.7k stars Watchers 93 watching Forks 311 forks Report repository Releases 19 v1.2.6 Latest Apr 29, 2023 + 18 releases Packages 0 No packages published Contributors 7 * @codesenberg * @husobee * @maurice2k * @iyuq * @a053a * @RobertHenry6bev * @baiwfg2 Languages * Go 99.0% * Python 1.0% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.