I have an Xdebug cachegrind file in webgrind showing that 1061 different functions were called in 5865 milliseconds
- when I disable profiling the script doesn't take that many milliseconds - I realize I could work this out but does anyone know the approximate percentage increase in execution time caused by Xdebug profiling?
Thanks
It's really difficult to say a specific number or percentage since that depends in the type and quantity of function calls, variables used and options you set in your xdebug.ini.
Here you can check a bit of research and tests done by some people.
short information about xdebug and the lexer cals
xdebug support mailing list
But of course, the final answer is yours, your application, your coding standards and your configurations are the ones that will set the final overhead.
Just remember, that as a general rule, xdebug should not be active in a production server. Some people have it enabled and everything is ok, but it's usually not a good idea.
Bye
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With