Hi there.
Recently I opened an issue about how xdebugtoolkit could compensate this
effect - http://code.google.com/p/xdebugtoolkit/issues/detail?id=13
This will definitely not help with server time spent, but could help in
later analysis.
On Fri, Apr 23, 2010 at 4:43 PM, Derick Rethans <derick[@]xdebug.org> wrote:
> On Thu, 15 Apr 2010, Ryan McCue wrote:
>
> > I'm doing a usort() (well, actually, a uasort() if that makes any
> > difference) on an array of stdObjects with ~10k items, which usually
> > takes 4.5s, but when XDebug is enabled, it takes a whole 60s. Is there
> > any reason why it would be increasing the sort time by this high a
> factor?
>
> Every comparison in the search takes up a userland function calls.
> Xdebug needs to do quite a bit of work for stack traces here. Depending
> on which options you have enabled, this can easily cause the speed loss
> that you're describing.
>
> regards,
> Derick
>
> --
> Like Xdebug? Consider a donation: http://xdebug.org/donate.php
> Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
> twitter: @derickr and @xdebug
>
>
Received on Fri Apr 23 2010 - 11:34:05 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST