Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 2.17 KB

README.md

File metadata and controls

68 lines (42 loc) · 2.17 KB

BLACKFIRE.IO

Blackfire helps developers profile, test, debug, and optimize performance of their applications.

References:

Table of content:

Blackfire signup & credentials

sudo blackfire-agent --register --server-id=23f722f8-45e2-494e-XXXX-XXXXXXX --server-token=2cc54503db6e24407c6524XXXX... 
blackfire config --client-id=2a18b73f-e6dc-4f3c-XXXX-XXXXXXXXX --client-token=2eaeca5f6a956cdf636cc62eXXXX.... 

You can also access your credentials through your Blackfire account : https://blackfire.io/my/settings/credentials (Or menu Account/My Settings/Credentials)

Install Blackfire

Cf. https://blackfire.io/docs/up-and-running/installation

Check that Blackfire agent is running:

sudo service blackfire-agent status

Chrome extension & Profiling

Download Chrome extension:

https://chrome.google.com/webstore/detail/blackfire-profiler/miefikpgahefdbcgoiicnmpbeeomffld

Profiling : https://blackfire.io/docs/cookbooks/profiling-http-via-browser

💡 Each request you profile is available in your Blackfire Dashboard : https://blackfire.io/my/profiles (My profiles)

Profiling Ajax requests

  • Open the Chrome inspector
  • Go to the "Network" tab
  • Trigger your Ajax request
  • In the Network tab, right click on your Ajax request and "copy as cURL" (see screenshot hereafter)
  • Execute the following command : blackfire curl <copied-cURL>

Timestamps

  • Last update : July 2020
  • Blackfire version (blackfire version) : 1.36.0
  • Chrome extension (Profiler) version : 1.23.3