Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

webgrind on wamp

I just installed wamp and the latest version comes with webgrind, but i cannot figure out how it works.It says

Select a cachegrind file above

And thats all.

like image 732
andrei Avatar asked Jan 26 '11 17:01

andrei


1 Answers

Webgrind is a parser/viewer for a profiling file format called cachegrind. The PHP extension Xdebug can (among other very useful things) generate these. For webgrind to work, Xdebug needs to be installed and enabled.

  1. Make sure Xdebug is installed and working (see the Xdebug docs for info on how to do that)
  2. Have Xdebug generate a profiling report by requesting a local PHP file
  3. Load webgrind in the browser and select a file in the popup-menu at the top
  4. Press update, and hopefully everything should work

The wiki on Google Code has more on configuring webgrind.

like image 111
jokkedk Avatar answered Oct 02 '22 16:10

jokkedk