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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.