Google Chrome

The easiest way to profile web pages is by using the Blackfire Companion for Chrome. The Companion lets you profile the current web page displayed in your browser in a click.

Installing the Companion

Installed Upgrade available Not installed

Install the Blackfire Companion from the Google Chrome Web Store:

Using the Companion

To profile web pages:

  • Log in on blackfire.io;
  • Browse to the URL you want to profile;
  • Open the Companion by clicking on its icon in the browser toolbar;
  • Optionally select a reference profile; or create a new one ("Create New Reference");
  • Click on the "Profile" button;
  • After a few seconds, click on "View Call Graph" or "View Comparison".

Limitations on 304 HTTP Responses

The Companion is not able to profile 304 HTTP responses as some Web Servers remove custom headers such as the ones added by Blackfire to operate correctly. So, to avoid 304 HTTP responses, the Companion removes any conditional headers from requests; if you want to profile 304 responses, use the Blackfire cURL CLI command instead.

Upgrading the Companion

The Google Chrome extension should be automatically updated by the Google Chrome Scheduler. However if a new version is available and your browser doesn't update it, please follow these steps to force the update:

  • Open chrome://extensions in a new browser tab;
  • Check the Developer mode at the top right of the screen;
  • Click the Update extensions now button.