VBencher is a simple command-line tool for benchmarking websites. It sends HTTP GET requests to a specified URL and measures the response time. This can be useful for testing the performance of a website or server.
-
Compile the program using Rust compiler:
$ rustc main.rs -
Run the program:
$ ./main -
Enter the URL you want to benchmark. For example:
Enter URL to benchmark (empty to quit): https://www.google.com/ -
Enter the number of requests you want to send:
How many requests do you want to send? 10 -
Wait for the program to complete the benchmark and display the summary:
Completed 5 requests in 2.50 seconds (avg response time: 500 ms) -
If you want to benchmark another website, enter
y
when prompted:
Do you want to benchmark another website? (y/n): n
Thank you for using VBencher!
This tool is released under the MIT License. See the LICENSE file for details.