php-debugbar icon indicating copy to clipboard operation
php-debugbar copied to clipboard

Timedata memory usage

Open barryvdh opened this issue 11 years ago • 2 comments

Next to measuring the time, it might be interesting to keep track of the memory usage. Thoughts?

Tasks:

  • [ ] Test better
  • [ ] Tweak layout?

barryvdh avatar Dec 23 '14 17:12 barryvdh

I didn't add that before because this is not accurate at all unfortunately. This reports only the delta between memory at start and end but not the actual usage during the interval. For example, setting and then unsetting a variable during this interval would not be reported by this.

maximebf avatar Feb 20 '15 14:02 maximebf

@maximebf @barryvdh This is a feature I need very much. Maybe memory_get_peak_usage(true) can be used instead or in pair with memory_get_usage(true)? This can visualize memory usage spikes during operation.

spotman avatar Oct 18 '18 09:10 spotman