Open Bug 1920829 Opened 2 months ago Updated 2 months ago

Formatting numbers in perfcompare

Categories

(Testing :: PerfCompare, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: pbone, Unassigned)

References

Details

(Whiteboard: [pcf])

Attachments

(1 file)

In the new perfcompare interface numbers aren't formatted with thousands separators, see the attached screenshot.

Where it says "15172608 bytes" I would prefer "15,172,608 bytes" or "14.47 MB" It should be locale dependant because thousands seperators are different in different parts of the world. and if converted into MB it should have a "sensible" number of significant digits.

Thank you.

Thanks for the bug!I agree that it's not great.
The problem with doing it locale dependent though, is that the rest of the interface isn't localized. So it would be confusing to (for example) see the numbers formatted as french but having the rest of the interface in english. Admittedly we could do it for the various english locales and default to some english region for non-english locale...

I wonder if one of the locale would be globally less confusing than the others. Maybe with spaces to separate the various groups?

Mostly I didn't want to be insensitive and suggest that it must be 1,234,456.78 I do think this is an "okay" default though since I imagine most French people have seen numbers formatted this way while I was in my 30s before I saw 1.234.567,78

Hello, could i please work on this?

(In reply to akanksha.t05 from comment #3)

Hello, could i please work on this?

Hi, akanksha, if you are from Outreachy please wait until our contribution period opens on Oct 8th, 2024. Also, all Outreachy issues will be on Github and will have the label: #Outreachy-Issue. I appreciate your enthusiasm and patience. Please refer to the guidelines: Outreachy Guidelines for PerfCompare.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: