[xdebug-dev] Bug 0000385: profiling time of md5() and serialize() not reported correctly

From: <noreply[@]lists.xdebug.org>
Date: Thu, 10 Jul 2008 21:02:39 +0200

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000385
======================================================================
Reporter: gauthierm
Handler:
======================================================================
Project: Xdebug
Bug ID: 385
Category: Debug client (console)
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Operating System: linux
PHP Version: 5.2.6
Xdebug Version: 2.0.3
======================================================================
Date Submitted: 2008-07-10 21:02 CEST
Last Modified: 2008-07-10 21:02 CEST
======================================================================
Summary: profiling time of md5() and serialize() not reported correctly
Description:
If I run a script that calls md5() or serialize() many times in a loop, the
calling function reports a large execution time but it's really md5()
and/or serialize() that is taking all the time.

Example:

function my_func() {
   for ($i = 0; $i < 1000; $i++) { md5($foo); }
}

In this example, the profiled running time of my_func() is high and the
running time of md5() is low.
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2008-07-10 21:02gauthierm New Bug
2008-07-10 21:02gauthierm Bug Monitored: gauthierm
======================================================================
Received on Thu Jul 10 2008 - 21:02:44 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST