Quick-and-dirty Laravel Benchmarks for Cache, DB, Session, etc.
MIT License
Quick-and-dirty Laravel 5.1 Benchmarks for Cache, DB, Session, etc.
To see exactly what this benchmark is doing, look at resources/views/benchmark.php
-- it is a standalone file running on stock Laravel 5.1.
Sample run on Linode with xdebug disabled:
composer install
cp .env-example .env
mysqladmin -v create -f homestead -u homestead --password=secret
sudo apt-get install php5-redis;service php5-fpm restart
Visit the site in a browser, the benchmarks should appear.
localhost
-- change the host to 127.0.0.1
to compare (may have to enable mysql to listen first).This is useful to me. I hope it's useful to you. It is what it is. PRs welcome.