1 unstable release

0.1.0 Sep 18, 2023

#1245 in Development tools

MIT license

12KB
110 lines

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

Dependencies

~8–23MB
~334K SLoC