Skip to content

YuraNikitin/python-frameworks-benchmark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python's Web Framework Benchmarks

Participants

Start Frameworks and Benchmarks

Start Framework Server

To run any framework you need:

  1. Go to the framework directory. For example: cd aiohttp

  2. Start the server using a script: bash start.sh

To stop the server script is used: bash stop.sh

Start Benchmark

The wrk library is used for benchmarking. Benchmarks ran with the following parameters

  • Threads = 12 (total number of threads to use)
  • Connections = 400 (total number of HTTP connections to keep open with each thread handling N = connections/threads)
  • Duration = 30s (duration of the test)

To run the benchmark for current framework you should run the command:

wrk -t12 -c400 -d30s http://127.0.0.1:8080/db

Benchmark Results

In our article we have described the test results in detail. You can read it here.

Contributors

About

Benchmark for popular python frameworks

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 60.5%
  • SQLPL 24.4%
  • Dockerfile 10.4%
  • Shell 4.7%