xdebug

Identifying D6 Performance Issue with Devel and xDebug

I'm having some trouble diagnosing a performance issue on my D6 site. Devel returns the following information:

Executed 131 queries in 129.41 milliseconds. Queries taking longer than 5 ms and queries executed more than once, are highlighted. Page execution time was 2941.81 ms.

Clearly the issue is not with queries. Next I ran xDebug to profile the script execution for this page. Here is the summary output from xDebug:

File: c:\documents and settings\administrator\sites\acquia-drupal-site\acquia-drupal\idex.php
Self time: - (-) Cumulative Time: 374ms (100.0%)

2 comments · Read more
mike stewart's picture

Drupal Development (in a "to go" box)

session proposal at drupalcon for a pre-built development environment. free. open source. with php debugging. works on MAC, Windows, linux, and solaris.

I'm planning to give the talk at DrupalCamp San Diego, and it has been accepted as talk at SCaLE 7x. It should be pretty polished by the time march rolls around. if you're interested, please check it out and vote: DrupalCon 2009 - Drupal Development in a "to go" box.

It's based on

6 comments · Read more
ethanw's picture

Getting XDebug and Eclipse to play together nicely

Following the discussion at last Wednesday's meetup, I posted some detailed "how-to" instructions on how to set up XDebug, MAMP, and Eclipse w/ PDT here:

http://labs.echoditto.com/drupal-xdebug-pdt-eclipse

A lot of these instructions should apply to Windows users and non-MAMP users as well, the only real difference should be where the xdebug.so file comes from and where it lives. Look forward to feedback, more to come (probably a quick screencast of PDT/XDebug tricks to start with).

Cheers,

Ethan

1 comment
Syndicate content