arnaud-lb / php-memory-profiler

Memory profiler for PHP. Helps finding memory leaks in PHP scripts.
MIT License
859 stars 51 forks source link

What is the unit of measurement used for the consumed memory size? #27

Closed kharbat closed 5 years ago

kharbat commented 5 years ago

Hello,

Just wanted to check since I couldn't find this info anywhere.

What is the unit of measurement used for Memory Size cost. I'm using Kcachegrind, and it displays plane numbers no units, e.g bytes or kilobytes.

Thanks

arnaud-lb commented 5 years ago

Hello @kharbat

The memory usage is measured in bytes

kharbat commented 5 years ago

Thanks for the response, just to double check are both attached screenshots measured in bytes?

screenshot from 2019-02-04 11-59-45 screenshot from 2019-02-04 11-59-59

arnaud-lb commented 5 years ago

Yes, but some are % as well :)