-
Notifications
You must be signed in to change notification settings - Fork 6
Include memory information when outputting Hoa\Bench. #27
Comments
Measuring PHP memory is something really hard… I tried several times but without success :-/. The |
I guess for my use-case, accuracy is not the most important. Relative accuracy is. If I see a great increase in memory usage, the number is not as important as the fact that memory usage did increase. This is how I very recently discovered a big memory leak. I'd actually suggest using the |
@evert If |
👍 |
|
That's correct. We are not going to be able to pause the memory, but does it make sense after all? Thoughts? |
Or… we can attach the memory information to the The real answer is: @evert, does it answer to your needs? |
In the particular case I was looking at, knowing it globally would definitely help. But a peak/current memory usage after |
@evert: Correct. In all cases, the So, any volunteers @hoaproject/hoackers? Maybe @evert, @vonglasow or @camael24? |
@dantleech Can you help us here please? I reckon your experience on PHPBench can be useful. |
PHPBench simply disables GC and records |
@dantleech Since |
@dantleech ping ? |
@vonglasow I am assigning this issue to you. Is it OK? |
@Hywan yes ok |
This is a feature request. We're using Hoa\Bench to measure how slow we are for a number of things.
We manually also output PHP memory right at the bottom, as you can see here:
https://github.com/fruux/sabre-vobject/blob/master/bin/bench_freebusygenerator.php#L61
I was wondering if this could also be a good Hoa\Bench built-in feature =)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: