[xdebug-general] How to get cpu consumption of a php script

From: Tanoor Dieng <newstanoor[@]gmail.com>
Date: Mon, 17 Jan 2011 18:09:05 +0100

Hi everybody,
I'm trying to get the cpu time consumed by a php script.

I thought that xdebug could help me with that.

But it seems that xdebug computes the execution time of a scrip, without
distinguishing the effective cpu time taken by the php script from the time
taken by other tasks such as mysql_connection or memcache_connection

May be, i'm misinterpreting the results or misusing xdebug.
Can somebody can confirm (or not), that xdebug can compute only the cpu time
taken by the php script.

Best regards,
Tanoor.
Received on Mon Jan 17 2011 - 17:10:15 GMT

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