View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002362 | Xdebug | Profiling | public | 2025-08-21 13:30 | 2025-08-27 15:47 |
Reporter | arshidkv12 | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Mac | OS | Mac | OS Version | 24.6.0 Darwin |
Summary | 0002362: Wrong time info in KCashGrind | ||||
Description | Profile displays incorrect time. I disabled the garbage collector. | ||||
Steps To Reproduce | Add following code. php.ini <?php //test.php function a2(){ | ||||
Additional Information | Expecting a1() will use more time. But getting a2() takes more time. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | Mac | ||||
PHP Version | 8.4-dev | ||||
|
I can reproduce this, but also without Xdebug or the profiler even loaded. When I run this script:
I get:
ie, 32µs vs 5µs, also ~ 6 times as much. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-08-21 13:30 | arshidkv12 | New Issue | |
2025-08-21 13:30 | arshidkv12 | File Added: pr.png | |
2025-08-27 15:47 | derick | Assigned To | => derick |
2025-08-27 15:47 | derick | Status | new => resolved |
2025-08-27 15:47 | derick | Resolution | open => no change required |
2025-08-27 15:47 | derick | Note Added: 0007349 | |
2025-08-27 15:47 | derick | Note Edited: 0007349 |