View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000765||Xdebug||Installation||public||2012-01-11 06:05||2016-11-29 23:49|
|Status||resolved||Resolution||no change required|
|Platform||Intel||OS||Arch Linux||OS Version||latest|
|Summary||0000765: Xdebug slows down PHP execution 30%-50% when running inside VirtualBox|
I run php-fpm 5.3.9 with xdebug git (2.2dev) in virtualbox and it cause PHP to run 50% slower (a test page results from 170ms (xdebug disabled) to 250ms (xdebug enabled), tested several times.). I realize that using xdebug will require more run time for PHP, but I have used it before in windows and it doesn't make that much of slowdown.
Here are the settings I used
|Tags||No tags attached.|
I've the same problem.
The spec of my host system:
The guest system:
I downloaded and compiled PHP 5.4.14 from source for CLI and cloned xdebug from github (commit 917809729a846bfeb19f2815c61c06a7df6d2b0f ).
The following is my sample benchmark (ten millions; 7 zeros):
When I run it with xdebug disabled, I get:
When I run with xdebug enabled, I get:
I enabled xdebug just by adding the appropriate zend_extension .
I did not change or set any xdebug settings, everything is the default.
I exported the VirtualMachine to VMWare and did the same tests. Running on VMWare no slowdown comparing running with our without xdebug was observes (in exactly the same configuration).
I am going to close this as a "I don't know what to do this".
I can't really reproduce this - it runs a little slower in VirtualBox, but I expect that.
|2012-01-11 06:05||char101||New Issue|
|2013-04-27 01:24||rfc||Note Added: 0002455|
|2016-11-29 23:49||derick||Note Added: 0003851|
|2016-11-29 23:49||derick||Status||new => resolved|
|2016-11-29 23:49||derick||Resolution||open => no change required|
|2016-11-29 23:49||derick||Assigned To||=> derick|