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: 24 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-05-11T13:22:45.000Z (25 days ago)
- Last Synced: 2025-05-12T13:18:15.838Z (24 days ago)
- Topics: benchmark, framework, http, measurement, performance, standard, web
- Language: PHP
- Size: 144 MB
- Stars: 7,040
- Watchers: 149
- Forks: 697
- Open Issues: 216
-
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 - 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 wrk /usr/bin/
```- `postgresql`, results are stored in `postgresql`
```sh
sudo dnf 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