View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001710 | Xdebug | Profiling | public | 2019-10-04 16:59 | 2021-05-12 19:11 |
Reporter | enor | Assigned To | derick | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 2.6.0 | ||||
Target Version | 3.1dev | ||||
Summary | 0001710: Doubled recursion count in kcachegrind on select recursive function | ||||
Description | I tried profiling a recursive function with a little test script. When viewing the cachegrind output in kcachegrind I can see the correct number of function calls when clicking the main entry point in the call graph (27). However, when i click the recursive function, it shows doubled count (54) which I did not expect. | ||||
Steps To Reproduce |
<?php $list = ['one', 'two', 'three']; function outputWithRecursion(string $item, int $countdown): void | ||||
Additional Information | PHP Version 7.2.19-0ubuntu0.18.04.2 HTTP Response Headers xdebug support enabled xdebug.ini settingszend_extension=xdebug.so | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | Ubuntu 18.04 | ||||
PHP Version | 7.2.15-7.2.19 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-10-04 16:59 | enor | New Issue | |
2019-10-04 16:59 | enor | File Added: cachegrind_recursion_main.png | |
2019-10-04 16:59 | enor | File Added: cachegrind_recursion_output.png | |
2019-10-07 14:48 | derick | Assigned To | => derick |
2019-10-07 14:48 | derick | Status | new => acknowledged |
2019-10-07 14:48 | derick | Note Added: 0005168 | |
2019-10-07 14:49 | derick | Target Version | => 3.0dev |
2020-11-18 15:33 | derick | Target Version | 3.0dev => 3.1dev |
2021-03-17 08:36 | derick | Priority | low => high |
2021-05-12 19:11 | derick | Status | acknowledged => closed |
2021-05-12 19:11 | derick | Resolution | open => duplicate |
2021-05-12 19:11 | derick | Relationship added | duplicate of 0000077 |