[xdebug-general] Re: Windows + Xdebug date() takes 1 second to run...

From: Derick Rethans <derick[@]xdebug.org>
Date: Tue, 5 Aug 2008 21:33:01 +0200 (CEST)

On Tue, 5 Aug 2008, Richard Lynch wrote:

> Perhaps I've just done something stupid, but when trying to profile
> some code on Windows...
>
> If I run without xdebug, date('Y-m-d H:i:s') takes 0.00001 seconds to
> run.
>
> I turn on xdebug, and it takes ~1.0 seconds to run.
>
> Is this kind of overhead expected with xdebug?

No, definitely not. It could be just trying to create the file on disk,
but normally profiling *does* add overhead, but more in the range of
3-5%. Which php.ini settings did you make for Xdebug?

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Tue Aug 05 2008 - 21:33:01 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST