web-bench

Crates.ioweb-bench
lib.rsweb-bench
version0.1.0
sourcesrc
created_at2023-09-18 22:28:43.809178
updated_at2023-09-18 22:28:43.809178
descriptionA small tool to benchmark webservers
homepage
repositoryhttps://github.com/hypercodec/web-bench
max_upload_size
id976337
size40,186
Tristan Murphy (HyperCodec)

documentation

README

web-bench

A small tool to benchmark webservers

Installation

Simply install Rust if you haven't already, and do cargo install web-bench

Usage

Once installed, the command for this application is wb.

This command has 3 parameters:

  • secs (time) - default: 30
  • thread_count - default: 1
  • url - required

Run wb --help for more information.

You can also set the RUST_LOG env variable for debugging purposes.

Examples

  • wb -s 120 -t 1000 -u https://google.com
  • wb --url https://discord.com
  • wb --thread-count 10 -u https://example.org
  • wb --secs 60 -u https://github.com

License

This project is licensed under the MIT license

Commit count: 9

cargo fmt