Chapter 3: PHP-level Performance Optimization with Blackfire

by Bruno Skvorc

Throughout the past few months, we've introduced Blackfire and ways in which it can be used to detect application performance bottlenecks. In this post, we'll apply it to our freshly started project to try and find the low-points and low-hanging fruit which we can pick to improve our app's performance.

If you're using Homestead Improved (and you should be), Blackfire is already installed. Blackfire should only ever be installed in development, not in production, so it's fine to only have it there.

Performance Implication in Production

Blackfire can be installed in production, as it doesn't really trigger for users unless they manually initiate it with the installed ...

Get Performance Project now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.