Bug 475519

Summary: add SI orders of magnitude prefixes to Allocations and Temporary Allocations vertical axes labels
Product: [Applications] Heaptrack Reporter: fygesser
Component: generalAssignee: Milian Wolff <mail>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 1.5.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description fygesser 2023-10-12 14:36:13 UTC
Hi,

Thanks for Heaptrack - it's awesome.

Currently Heaptrack shows the vertical graph axes labels as unformatted numbers. When there are many allocations, the numbers consist of mostly zeros, like 10000000000, 11000000000, etc.). I find such output hard to decipher.

I think it would be good to instead shorted the numbers by appending SI order of magnitude prefixes like 1000000000 -> 1B or 1 billion.

Thanks