codespeed icon indicating copy to clipboard operation
codespeed copied to clipboard

Feature request: flexible number presentation (1,000,000.123, not 1000000.123)

Open mykaul opened this issue 11 years ago • 4 comments

With some values of benchmarks (such as IOPS, packets-per-second, etc.), it is easier to read if you use a notation such as 1,234,567.89 and not 1234567.89

mykaul avatar Jun 09 '13 18:06 mykaul

#167 might be related, if someone gives this a shot

nomeata avatar Jul 13 '14 13:07 nomeata

This can be done with the humanize tag:

  • https://docs.djangoproject.com/en/1.11/ref/contrib/humanize

Ismael-VC avatar Jul 26 '17 06:07 Ismael-VC

That would work for the Changes page, but not the Timeline or Comparison pages (the values there are rendered by jqPlot, not Django). Additionally, it would require users to add the humanize app to their per-project settings, which isn't a huge requirement but would be an additional manual step that needs to be conveyed to users.

str4d avatar Aug 23 '17 14:08 str4d

@str4d yeah, I agree about the humanize tag. It's a valid point though, much easier to read if formatted properly

tobami avatar Aug 25 '17 06:08 tobami