Skip to content

Instantly share code, notes, and snippets.

@lyf-is-coding
Created July 6, 2023 06:09
Show Gist options
  • Save lyf-is-coding/45179990e26fc5edcdbc93786d3fa1c6 to your computer and use it in GitHub Desktop.
Save lyf-is-coding/45179990e26fc5edcdbc93786d3fa1c6 to your computer and use it in GitHub Desktop.
Benchmark my http server
Using ApacheBenchmark:
Download link: https://stackoverflow.com/a/68946005/10919965
abs.exe for https
ab.exe for http
-r Don't exit on socket receive errors.
-n requests Number of requests to perform
-c concurrency Number of multiple requests to make at a time
10 requests by 5 clients cmd:
abs -r -n 10 -c 5 https://your.http/server
more stress, 2000 requests by 200 clients cmd:
abs -r -n 2000 -c 200 https://your.http/server
In the result, forcus on:
Complete requests, Time taken for tests, Requests per second.
https://torbjornzetterlund.com/performance-testing-your-wordpress-website/#gsc.tab=0
https://iximiuz.com/en/posts/flask-gevent-tutorial/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment