GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codesenberg/bombardier: Fast cross-platform HTTP benchmarking tool written in Go

BranchesTags
Open more actions menu

Latest commit

 

History

118 Commits
118 Commits

Folders and files

NameName
Last commit message
Last commit date
.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
 
 

Repository files navigation

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.

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 [<flags>] <url>

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

benchmarkingbombardierclifastgogolanghttplinuxload-testingmacosperformancewindows

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

6.9k stars

Watchers

87 watching

Forks

332 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.