News for hackers. Stuff that matters.
Re:How to profile your PHP applications with Xdebug by ehnto on Saturday May 07, 2022 @02:39PM (#31297266)
That's not really a fair comparison, xDebug is a debugging and profiling tool you use during development on your own machine, not a performance monitoring tool you put on the server. I think you've just misunderstood it's use case. For development profiling and debugging xDebug is what you want. To wit, new relic and blackfire can't debug, and xDebug can't monitor.
Re:How to profile your PHP applications with Xdebug by jw1224 on Saturday May 07, 2022 @03:25PM (#31297715)
I appreciate they serve different purposes, but I had some unknown bottlenecks I wanted to discover, and explored 3 ways of doing so. In my case, one was far easier to actually gain any insights from than the others :) FWIW I use Xdebug regularly during development anyway.
Re:How to profile your PHP applications with Xdebug by ehnto on Saturday May 07, 2022 @04:04PM (#31298042)
Ah I see, my mistake, yes I wouldn't look to xDebug to track down performance issues admittedly, it's too cumbersome and limited as you've noted. My use case for it's profiling is simple comparisons between changes, to see if what I've done did infact improve a specific performance issue. New Relic is a godsend when you're trying to track down production performance issues, especially of the intermittent kind.