README.md
ruby, all tools are made in rubysudo dnf install ruby
wrk, results are collected using wrkcd `mktemp -d` && git clone https://github.com/wg/wrk -b 4.2.0 . && make && sudo mv wrk /usr/bin/
postgresql, results are stored in postgresqlsudo dnf install postgresql{,-server}
docker, each implementation is implemented in an isolated containerjq, processing docker metadatadocker-machine if you are on macosYou can start and configure a postgres from docker via
docker run --name postgres -v /var/run/postgresql:/var/run/postgresql -e POSTGRES_PASSWORD=postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d -p 5432:5432 postgres
dropdb -U postgres benchmark
createdb -U postgres benchmark
psql -U postgres -d benchmark < dump.sql
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; make -f $FRAMEWORK/.Makefile build
export FRAMEWORK=php/lumen; make -f $FRAMEWORK/.Makefile collect
:warning: You need to be on the project main directory :warning:
Please see CONTRIBUTING.md.
Please take a look at https://web-frameworks-benchmark.vercel.app/result