Skip to content
Python Shell
Branch: master
Clone or download
Pull request Compare This branch is even with omedhabib:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
round1
round2
round3
round4
src
Dockerfile
benchmark.sh
readme.md
results.csv
results.py

readme.md

WSGI Benchmarks

Introduction

The current setup is based on a quad core machine:

  • 2 cores are dedicated to docker / WSGI server
  • 2 cores are dedicated to web server stress tester

Pull requests are welcome!

Steps to reproduce benchmarks

1. Install docker

Please consult instructions for your distro

2. Run benchmark.sh

Run benchmark.sh as a user that has docker permissions (it will automatically create the image), passing in directories to store results

for directory in round*; do
    ./benchmark.sh $directory
done

3. Run results.py

Results.py will parse the results, producing a CSV file. Pass in the directories used in the previous step

./results.py round* > results.csv
You can’t perform that action at this time.