Using Blackfire

Once you have a machine created, you can configure and run Blackfire.

View the full installation docs.

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.

  2. SSH into Nitro:

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

  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.