View Issue Details

IDProjectCategoryView StatusLast Update
0001177XdebugUsage problems (Wrong Results)public2016-12-13 09:16
ReporterolegjeAssigned Toderick 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformOSWindowsOS Version10
Product Version2.3.3 
Target VersionFixed in Version 
Summary0001177: After enable Xdebug PHP works incredibly slow
DescriptionI have installed apache 2.4 and PHP 5.6 on PC (with windows 10 OS).

After enabling Xdebug php works more than 10 times(!) slower (sometimes more than 20 times) than without Xdebug.

This is php.ini config:

zend_extension = "php_xdebug-2.3.3-5.6-vc11-x86_64.dll"
xdebug.remote_autostart = 0
xdebug.profiler_enable = 0
xdebug.profiler_output_dir = "C:\PHP\tmp"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_mode=req
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port=9000
xdebug.idekey=netbeans-xdebug
xdebug.trace_output_dir = "C:\PHP\tmp"
xdebug.auto_trace = 0
xdebug.var_display_max_depth = 3
xdebug.remote_connect_back = 0

I've made sure that profiler and autostart are disabled.
Steps To ReproduceEnable xdebug extension.


TagsNo tags attached.
Operating System
PHP Version5.6.5-5.6.9

Activities

derick

2015-11-20 18:05

administrator   ~0003249

I'm not sure what to do about this. It's a debugger, it makes things go slower. Although 10x sounds excessive. You can try turning of remote_enable if you're not using the debugger perhaps? Or otherwise, try Xdebug 2.4.0rc1 (out in a few hours) to see if it's faster. In any case, for Xdebug 2.5 I am going to look at some optimisations. There is already a ticket for that. Stay tuned!

Issue History

Date Modified Username Field Change
2015-08-12 08:20 olegje New Issue
2015-11-20 18:05 derick Note Added: 0003249
2015-11-20 18:05 derick Status new => resolved
2015-11-20 18:05 derick Resolution open => no change required
2015-11-20 18:05 derick Assigned To => derick
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)