I was using xdebug to profile the use of multi curl in my php code, and the numbers didn't add up to the total, so I used xhprof instead, which seemed to provide better data. Why is xdebug providing seemingly bad profiling info, and is there a way to work around it? I would prefer to use xdebug's profiler, as there are more tools for it.
Xdebug's profiler works in a slightly different way and thus gives different results. (I also know there is a little bug in aggregating data). I would always suggest to use both Xdebug and XHprof.
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