Using a Web Browser is the easiest way to profile web applications. Blackfire supports Google Chrome and Firefox.
Install the Blackfire Extension from the Google Chrome Web Store:
Collectoroption to your Blackfire instance then click
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:
chrome://extensionsin a new browser tab;
The browser extension injects a toolbar in the profiled webpage and uses an
<iframe> to communicate with the probe.
In case the web page declares a Content Security Policy regarding frames usages, the communication may be broken and you would be informed in the toolbar.
In this case, you can declare Blackfire domain as trusted by adding the
blackfire.io domain in your application’s headers:
Content-Security-Policy: frame-src 'self' blackfire.io