View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000175 | Xdebug | Profiling | public | 2006-04-20 16:32 | 2021-04-14 16:10 |
Reporter | GoodStuff | Assigned To | derick | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | PHP 5.1.2 | OS | Windows XP | OS Version | SP1 |
Product Version | 2.0.0dev | ||||
Target Version | 2.2dev | ||||
Summary | 0000175: Profile: function or class definition has no entry in profile, and adds to self time in wrong place | ||||
Description | While profiling my app, I noticed something odd in the "self" times of some of my scripts. Let's say file A require_once() file B. File B require_once() file C. File C has a lot of function or class definitions. In the profiler, no "events" are logged for C.php. Also, almost no time is assigned to C.php, but a lot of time is (incorrectly) assigned to the "self" time of B.php. | ||||
Steps To Reproduce | Profile A.php and examine the cachegrind output. (a.php, b.php, c.php and example cachegrind output atached in zip) | ||||
Tags | No tags attached. | ||||
Operating System | Windows XP | ||||
PHP Version | 5.1.2 | ||||
|
Sorry, was no way to attach zip. Here are example files: a.php: b.php c.php function a()
function c($input)
} function d($input)
} function br() function e($name, $value, $options)
} function f($text, $key, $value=NULL) function g($text, $img = "")
} function h($url, $text, $postfield = NULL, $setvar = NULL, $method = "get")
} function i($code, $heading, $feed) function j($haystack, $char_list)
} ?> cachegrind.out.1398746969: events: Time fl=C:\Inetpub\waproot\test\c.php fl=C:\Inetpub\waproot\test\b.php fl=C:\Inetpub\waproot\test\a.php summary: 25269 0 5650 """ |
|
Is this issue still relevant to you? |
|
Closing this, as it is missing requested feedback. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-04-20 16:32 | GoodStuff | New Issue | |
2006-04-20 16:35 | GoodStuff | Note Added: 0000386 | |
2010-03-20 23:47 | derick | Target Version | => 2.2dev |
2016-07-31 12:35 | derick | Category | Debug client (console) => debugclient (debugging tool) |
2016-07-31 12:35 | derick | Category | debugclient (debugging tool) => (No Category) |
2016-08-02 18:46 | derick | Category | (No Category) => Profiling |
2016-12-04 16:26 | derick | Assigned To | => derick |
2016-12-04 16:26 | derick | Status | new => acknowledged |
2021-03-17 09:39 | derick | Status | acknowledged => feedback |
2021-03-17 09:39 | derick | Note Added: 0005770 | |
2021-04-14 16:10 | derick | Status | feedback => closed |
2021-04-14 16:10 | derick | Resolution | open => unable to reproduce |
2021-04-14 16:10 | derick | Note Added: 0005844 |