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.

Revisions

  1. lyf-is-coding created this gist Jul 6, 2023.
    20 changes: 20 additions & 0 deletions benchmark.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    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/