the-benchmarker / web-frameworks

Which is the fastest web framework?
MIT License
6.9k stars 642 forks source link
benchmark framework http measurement performance standard web

Which is the fastest ?


Simple framework comparison



Build Status Chat with us License

Motivation

There are many frameworks, each one comes with its own advantages and drawbacks. The purpose of this project is to identify them and attempt to measure their differences (performance is only one metric).

What is a framework ?

A framework is a set of components working together. The main intention behind a framework is to facilitate (app or service) creation. The way a framework helps any developer may vary from one to another.

A majority of frameworks could be split in 2 parts :

Requirements

Usage

bundle install
bundle exec rake config

:warning: On macos, you need to use docker-machine to allow docker usage for each framework :warning:

docker-machine rm default --force
docker-machine create default
eval $(docker-machine env default)
export FRAMEWORK=php/lumen
cd ${FRAMEWORK} 
make -f .Makefile build 
make -f ${FRAMEWORK}/.Makefile collect

:warning: You need to be on the project main directory :warning:

Results

Please take a look at https://web-frameworks-benchmark.netlify.app/result