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 | |||
| 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. | ||||
| 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. |