Posts

Showing posts with the label profiler

Graphical Plot of Xdebug Cachegrind

Graphical Plot of Xdebug Cachegrind - Update for How to Create Graphical View of Xdebug's Cachegrind Output . This a command line approach of profiling a single php script using Xdebug. Running Xdebug profiler from CLI is simply by executing your php script along with xdebug directives using `-d` option, this will then create a cachegrind file which we're going to convert into a visual plot using xdebugtoolkit and Graphviz.

Setting Up and Configuring Xdebug

Setting up and Configuring Xdebug Install Xdebug There are three ways you can install Xdebug. - Installing precompiled modules. - Install through PEAR/PECL. - Compiling from source.