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 installcp .env-example .envmysqladmin -v create -f homestead -u homestead --password=secretsudo apt-get install php5-redis;service php5-fpm restart
Visit the site in a browser, the benchmarks should appear.
- xdebug makes a large difference -- try it with and without.
 - Try redis over a socket -- put this in your config/database.php redis settings
- 'path' => env('REDIS_PATH', '/tmp/redis.sock'),
 - 'scheme' => env('REDIS_SCHEME', 'unix'),
 - You'll also have to tell Redis to listen on a socket -- add this to /etc/redis/redis.php
- unixsocket /tmp/redis.sock
 - unixsocketperm 777
 
 
 - Mysql already connects over a socket by default for a host of 
localhost-- change the host to127.0.0.1to 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.
