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

  1. Log in or create an account at blackfire.io (opens new window).

  2. SSH into Nitro:

nitro ssh
  1. Configure the local agent with the server credentials (opens new window):
sudo blackfire-agent --register
  1. Restart the agent service:
sudo /etc/init.d/blackfire-agent restart
  1. Install the Firefox extension (opens new window) or the Chrome extension (opens new window).

  2. Browse to the URL you want to profile.

  3. Open the extension by clicking on its icon in the browser toolbar and click the “Profile” button.

  4. Once profiling is complete, you can click on the buttons in the toolbar to see the details of the profile.