Overview
Explore PHP application profiling using Xdebug in this comprehensive 90-minute video tutorial featuring Derick Rethans. Learn how to install and enable the Xdebug extension, profile various PHP examples including hello-world and factorial functions, and analyze composer configurations. Discover how to use profiling front-ends like qcachegrind to visualize call graphs and identify application bottlenecks. Gain insights into Xdebug's capabilities, including single-step debugging, enhanced var_dump() functionality, stack traces, and code coverage for PHPUnit. Witness the performance improvements achieved by compiling Xdebug 3 and apply these techniques to optimize your PHP applications.
Syllabus
- Holding Screen
- Introductions
- What are we going to profile?
- Installing and enabling Xdebug extension with Pecl
- Profiling our hello-world example
- Profiling our factorial example
- Profiling our simple composer configuration
- Profiling our complex composer configuration
- Compiling Xdebug 3 for the performance gains!
- Profiling our complex composer configuration with much gains
Taught by
Rawkode Academy