Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/the-benchmarker/web-frameworks
Which is the fastest web framework?
https://github.com/the-benchmarker/web-frameworks
benchmark framework http measurement performance standard web
Last synced: 5 days ago
JSON representation
Which is the fastest web framework?
- Host: GitHub
- URL: https://github.com/the-benchmarker/web-frameworks
- Owner: the-benchmarker
- License: mit
- Created: 2017-03-27T15:17:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T06:24:41.000Z (3 months ago)
- Last Synced: 2024-10-29T11:29:46.341Z (2 months ago)
- Topics: benchmark, framework, http, measurement, performance, standard, web
- Language: PHP
- Size: 139 MB
- Stars: 6,987
- Watchers: 151
- Forks: 666
- Open Issues: 211
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome - the-benchmarker/web-frameworks - Which is the fastest web framework? (PHP)
- awesome - web-frameworks - Which is the fastest web framework? (PHP)
- awesome-starts - the-benchmarker/web-frameworks - Which is the fastest web framework? (PHP)
- awesome-list - web-frameworks - benchmarker | 5872 | (PHP)
- jimsghstars - the-benchmarker/web-frameworks - Which is the fastest web framework? (PHP)
README
+ `ruby`, all tools are made in `ruby`
```sh
sudo dnf install ruby
```
+ `wrk`, results are collected using `wrk`
```sh
cd `mktemp -d` && git clone https://github.com/wg/wrk -b 4.2.0 . && make && sudo mv cp /usr/bin
```
+ `postgresql`, results are stored in `postgresql`
```sh
sudo dn install postgresql{,-server}
```
+ `docker`, each implementation is implemented in an isolated **container**
+ `jq`, processing `docker` metadata
+ `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
Please take a look at https://web-frameworks-benchmark.netlify.app/result