Using Blackfire
Nitro is no longer supported. Please see our announcement and DDEV migration guide.
Once you have a machine created, you can configure and run Blackfire (opens new window).
View the full installation docs (opens new window).
If Xdebug is active it may significantly degrade performance measures. You can disable it with nitro xdebug off
.
# With Browser Extensions
Log in or create an account at blackfire.io (opens new window).
SSH into Nitro:
nitro ssh
- Configure the local agent with the server credentials (opens new window):
sudo blackfire-agent --register
- Restart the agent service:
sudo /etc/init.d/blackfire-agent restart
Install the Firefox extension (opens new window) or the Chrome extension (opens new window).
Browse to the URL you want to profile.
Open the extension by clicking on its icon in the browser toolbar and click the “Profile” button.
Once profiling is complete, you can click on the buttons in the toolbar to see the details of the profile.