Blackfire profiling

Edit on GitHub

This document describes how to use Blackfire to profile your Spryker application and identify performance bottlenecks.

Prerequisites

Install and configure Blackfire.

Profiling with Blackfire

To profile with Blackfire, do the following:

  1. Reproduce the problem in the necessary environment or request it to be reproduced by the customer. For more details on profiling with Blackfire, see the official Blackfire website.
  2. Review the profiling:
  • Check the Recommendations section. It shows some possible solutions. blacfire-recommendations
  • Check Callgraph. blacfire-callgraph The left part shows time (excl., incl., calls), and the right part shows the exact graph: callgraph
Info

Blackfire groups some actions, so after each round of optimization, you will see more details in the report.

  1. Check other sections, like SQL, Propagation, etc. Read more about profiling with Blackfire in the Blackfire official documentation.