Blackfire

Published

Updated

🔥

Profile PHP performance issues.

Blackfire profiles PHP requests and shows where the time goes. Its extension is installed on fortrabbit: switch it on in the PHP settings with the server credentials from Blackfire, then profile with the browser extension.

About Blackfire

Blackfire records a profile of a request: time and memory per function, database queries and calls to other services. It also runs performance tests. Profiles from production show the real slow spots, and faster code can need a smaller PHP plan.

Pricing

Blackfire is billed by Blackfire, not by fortrabbit. See Blackfire pricing.

Integration

Three steps:

Over at Blackfire

At fortrabbit

  • Open the PHP settings of the environment in the dashboard.
  • Switch on the Blackfire extension.
  • Paste the Server ID and the Server Token, and save.
  • Wait a minute until PHP restarts with the extension.

In your browser

  • Install the Blackfire extension for Chrome or Firefox.
  • Open the website and click the Blackfire button to profile the page.

Limitations

Command line scripts, such as jobs, need the Blackfire PHP SDK to be profiled.

Written by humans and AI in collaboration.

AI use & editorial processEdit on GitHub ↗