[xdebug-general] Re: sampling mode

From: Derick Rethans <derick[@]xdebug.org>
Date: Fri, 9 Jan 2009 17:04:27 +0100 (CET)

On Fri, 9 Jan 2009, Douglas Hubler wrote:

> i heard folklore of a setting to enable sampling mode that will
> collect profile information say every 500th request.
> I want to collect real-world data on production and spread the
> performance impact of collecting the data across the users.
> - Does this exists?
> - if not, could this be added easily?

It only exists as a sampler for *all* requests, though it won't be hard
to do it only every 1/500th time (based on random guessing).

> - If so, is it documented somewhere that i missed?

It's not documented -- yet.

> Is this even a good idea?

Yes, I think it is :-) If you want, please file a feature request at

with kind regards,

Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: derickrethans
Received on Fri Jan 09 2009 - 17:04:28 GMT

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