Closed Bug 1361835 Opened 7 years ago Closed 7 years ago

Perfherder numbers could be formatted better

Categories

(Tree Management :: Perfherder, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

References

Details

Attachments

(1 file)

Very large numbers could be formatted to be more readable in Perfherder. I.e. instead of:

211515317.54

We should show something like:

211,515,317.54

This is quite easy to do with angular's number filter: https://docs.angularjs.org/api/ng/filter/number

The only problem is that by default it shows 3 digits of precision with decimal values which is more than what we want. Let's override that behaviour, but otherwise use it as-is.
Attachment #8864289 - Flags: review?(rwood)
Comment on attachment 8864289 [details] [review]
[treeherder] wlach:1361835 > mozilla:master

Awesome, LGTM
Attachment #8864289 - Flags: review?(rwood) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Depends on: 1364031
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: