Profiling
Profiling is the process of measuring the performance of a program to identify bottlenecks and areas for optimization.
Profiling is typically done using extensions like Xdebug, Blackfire, Tideways or XHProf. These tools provide insights into:
- Function execution time
- Memory usage
- Call graphs
- Hot paths in the code.