# web-frameworks **Repository Path**: lixingye/web-frameworks ## Basic Information - **Project Name**: web-frameworks - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-04 - **Last Updated**: 2021-02-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Which is the fastest ? ---------- #### Simple framework comparison ----------
## 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 help any developer could vary from one to an other. A majority of frameworks could be splitted in 2 parts : + **full-stack** meaning it provides all aspects (-stacks-) from data layer to sometimes deployment + **micro** meaning it provides only the routing part, and let the developer choose any other component for the others ## Requirements + `ruby`, all tools are made in `ruby` + `wrk`, results are collected using `wrk` + `postgresql`, results are stored in `postgresql` + `docker`, each implementation is implemented in an isolated **container** + `docker-machine` if you are on `macos` ## Usage + Setup ``` bundle install bundle exec rake config ``` + Build :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 ``` + Run ``` make -f ${FRAMEWORK}/.Makefile collect ``` :warning: You need to be on the project main directory :warning: ## Results (2021-02-03)Docker version 20.10.0-rc1, build 5cc2396