View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000385 | Xdebug | public | 2008-07-10 20:02 | 2010-03-20 23:43 | |
Reporter | gauthierm | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Summary | 0000385: 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() { In this example, the profiled running time of my_func() is high and the running time of md5() is low. | ||||
Tags | No tags attached. | ||||
Operating System | linux | ||||
PHP Version | 5.2.6 | ||||
|
I have the same problem with every profiled functions. <?php Results : Another example more signifiant : / function doThousandArray() { function doArray() { $s = microtime(true); ?> Results : With xdebug profiling Cachegrind data : The best would be to remove profiling time from xdebug cachegrind file, or, if not possible, to add the profiling time of the function to the function executing time not to the caller executing time. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-07-10 20:02 | gauthierm | New Issue | |
2009-02-02 12:30 | mehdir | Note Added: 0000910 | |
2009-02-02 15:06 | mehdir | Note Edited: 0000910 | |
2010-03-20 23:43 | derick | Status | new => resolved |
2010-03-20 23:43 | derick | Resolution | open => unable to reproduce |
2010-03-20 23:43 | derick | Assigned To | => derick |
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) |