You can profile your Drupal application via by following the next steps:

  • Enable blackfire probe extension by uncommenting the environment variable PHP_BLACKFIRE: 1 in the PHP (Drupal) service
  • Uncomment blackfire agent service in your docker compose file
  • Specify values for BLACKFIRE_SERVER_ID and BLACKFIRE_SERVER_TOKEN environment variables (you can acquire them from your profile)
  • Install blackfire companion extension for Chrome or Firefox
  • Start profiling your app via the extension and see data from dashboard

Fore more details please refer to the official documentation: