Presented at the Laravel Chicago meetup on June 21, 2016: http://www.meetup.com/laravel-chicago/events/231546514/
Automated web app testing is not very rare anymore - there are many resources for writing unit tests as well as functional/acceptance tests, as seen in May's meetup. Code should be tested with every deployment to ensure functionality is working as expected.
However, users expect more than a functional website. They expect a well-designed site that is also as fast as possible. Generally performance testing and optimization have been reactive rather than proactive, but now performance considered a user experience requirement. Like any other kind of testing, proactive performance testing and optimization can catch many significant issues before they become an issue.
Even with PHP 7's massive speed improvements, applications can still be slow. We'll discuss in-depth how to test the performance of your Laravel/Lumen applications, as well as how you can take the results of the test and make changes to optimize your application. You'll see how to stress test your application, how to evaluate the results, and what performance improvements to make to achieve better results.
Eric Tendian is a backend engineer at Packback, an educational technology company with a backend of microservices in Lumen and Laravel. Recently he developed and ran multiple load tests of Packback's microservices, then optimized some of those services resulting in a 10x speed boost on the slowest endpoints.