[xdebug-general] New to XDebug -- a couple questions

From: Daniel Vandersluis <daniel[@]greatgulfhomes.com>
Date: Wed, 8 Mar 2006 13:44:00 -0500

I'm fairly new to XDebug, so perhaps I'm not doing something right, but I
can't seem to find out a couple things:

1. How do I get the actual execution times, per file? I have xdebug2
installed, and tried using file(xdebug_get_tracefile_name()); to get the
information from the file, but the numbers it is reporting are obviously by
function first of all, and secondly don't appear to be right (for instance,
it reported that a function being called 1000 times in a loop (I was
testing) took about 20-30 seconds to execute, when the visible time it took
was maybe about 1-2 seconds. Also, the numbers seem to be roughly equal per
function, no matter what the function is doing, which seems odd to me.

2. Is there a way to profile SQL calls?

Thanks in advance for your help!

--
Daniel Vandersluis, Programmer
Great Builder Solutions
daniel[@]greatbuildersolutions.com
Telephone: (416) 441-1262 x2811
Fax: (416) 441-9085
Received on Wed Mar 08 2006 - 19:44:03 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST