ubench icon indicating copy to clipboard operation
ubench copied to clipboard

correct abbrevations for memory sizes

Open g5bot opened this issue 3 years ago • 0 comments

https://github.com/devster/ubench/blob/9f593759af88ef2a584ff6ca8bc0e7d76256fcaf/src/Ubench.php#L149

Hi there,

the correct abbrevations for memory sizes are as following:

  • kilobyte: KB
  • megabyte: MB
  • gigabyte: GB
  • petabyte: PB

The units in latest version (2.1.0) are wrong and describe the "bit sizes". For example "Mb" stands for "megabit", that is only one eight of a megabyte.

Best regards from Germany! :)

g5bot avatar Feb 09 '23 18:02 g5bot