Installing Webgrind, the Xdebug Profiler

Webgrind is a front-end for Xdebug profiling, released under BSD License.

Using this, developpers can easily monitor the functions called in a PHP script, and the times spent in functions by self cost or inclusive cost. (Inclusive cost is time inside function, plus calls to other functions)

It’s cross platform compatible and easy to use once installed. (Yeah, the installation is no that easy). I had Xdebug already installed, and after going through this, I managed get it running, after following these steps:

Step 0
Install Xdebug. (Already done in my scenario)

Step 1
Enter the following entries to php.ini file.

[xdebug]
xdebug.profiler_enable=1
xdebug.profiler_output_dir="/tmp"
xdebug.profiler_output_name="cachegrind.out.%t.%p"

Step 2
Download Webgrind, and extract the archive to the web server’s root directory.

Step 3
Restart the web server.

Once profiling is enabled, the performance of the web server gets reduced slightly. But you can disabled profiling by changing php.ini as follows:

xdebug.profiler_enable=0
Advertisements

OrangeHRM 2.5 Stable Version is Released

After many months of work, OrangeHRM 2.5 stable version was released on 5th Ocober, 2009 (yesterday).

OrangeHRM 2.5

OrangeHRM 2.5

New Features:

  • New look and feel with enhanced usability
  • Separation of The Project Time Tracking and Attendance
  • Enhanced Recruitment Module
  • Implementation of Advanced Security Measures
  • Performace optimizations

Apart from these, there are over 150 bug fixes.

It’s the most stable, most secure & the fastest OrangeHRM ever released.

Read More

%d bloggers like this: