Uploading Existing Profiles

The Blackfire CLI tool can upload any profile generated by the following tools:

  • XHProf;
  • Xdebug;
  • any tools able to generate a callgrind output.

To upload a profile, you need to install the Blackfire CLI tool.

You can now use blackfire upload to upload profiles:

$ blackfire upload profile.callgrind

At the end of the upload, blackfire outputs the URL where the profile can be found.

You can even ask Blackfire to aggregate several files into one:

$ blackfire upload profile1.callgrind profile2.callgrind profile3.callgrind ...