[xdebug-general] feature request - dump traces file to disk only if total script execution time is greater or equals a threshold in seconds

From: Valeriy <valera.ua[@]gmail.com>
Date: Mon, 3 Nov 2014 12:50:33 +0200

Hello,

I'd like to suggest a feature that might be useful when doing load/stress
testing.

Normally, if one is not satisfied with load/stress testing results and
wants to investigate root causes, only requests that took longer than X
seconds to execute matter.
However, right now such testing will generate tons of profiler traces
files, so additional manual files cleaning/filtering has to be done.

It would be great to have a configuration parameter like the following:

xdebug.profiler_request_time_threshold
Type: integer, Default value: 0
When this setting is set to a value greater than 0, trace files will be
dumped to disk only if total request processing time is greater or equals
the threshold (in seconds).

---
WBR, Valeriy
Received on Mon Nov 03 2014 - 10:50:53 GMT

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