View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002395 | Xdebug | Uncategorized | public | 2026-01-09 14:53 | 2026-02-03 15:37 |
| Reporter | kieranfj | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Windows | OS | Windows 11 | OS Version | 24H2 26100.7392 |
| Product Version | 3.5.0 | ||||
| Fixed in Version | 3.5.1 | ||||
| Summary | 0002395: Severe performance degredation on Windows | ||||
| Description | I have a WAMPServer based setup locally with various PHP versions stretching back to 8.0. Previous versions worked without any noticeable or unacceptable delay (e.g xdebug off = 4 seconds to process, xdebug on 5 seconds) across any of the PHP version. Recently Xdebug 3.5.0 was released via the WAMPServer page https://wampserver.aviatechno.net/ and i installed it, which then updated all the PHP versions installed for me as intended. However i have found that when running 3.5.0 (.dll is loaded, apache service started etc) that a process that typically takes 4-6 seconds, inflates to 40-50 seconds doing the same thing. The general way of working this out was to put simple micro timestamp start - micro timestamp stop before and after method execution of my code, pushed into a generic debug log of our own creation. Attached is a debug dump that might not make sense, but it has micro time just before some file content | ||||
| Steps To Reproduce | Start wamp PHP 8.4 with 3.5.0 Do the same with 3.4.4 | ||||
| Additional Information | php_xdebug-3.4.4-8.4-ts-vs17-x86_64 - 4-6 seconds xdebug.mode = develop I dont change xdebug settings between the versions, i have changed php.ini to point at the different dll's and restarted the apache service to pick it up The process is basically: each log file should be the same incoming request with the same file being loaded in the same sequence. The only manual alteration to the files i have made is to remove some folder structure information for privacy reasons | ||||
| Tags | No tags attached. | ||||
| Operating System | Windows | ||||
| PHP Version | 8.4.10-8.4.19 | ||||
|
|
Could you try setting |
|
|
Hi Derick Since posting the issue, i have managed to take a portion of our internal code and put it into small, self contained test project. Anyway, for that reduced test: Xdebug 3.5.0 Starting performance test... With xdebug.control_socket commented out: Same code, same test, apache service restarted in between php.ini changes. Just for comparison: With xdebug 3.4.4 With xdebug.control_socket to off With xdebug.control_socket commented out: On the original full test (work machine) 3.5.0 i did a quick run of our code (so it might not be 100% apples to apples) With xdebug.control_socket commented out: Thanks |
|
|
The fix for this issue, merged through https://github.com/xdebug/xdebug/pull/1060, should alleviate the need for turning the control sockets off again on Windows. You'll find this in the (upcoming) 3.5.1 release. |
|
|
FWIW, you can try out that development version with the binarires at https://github.com/xdebug/xdebug/actions/runs/21256100508#artifacts |