bencheeorg/benchee

Add option for displaying long labels for scaled units

Open

#28 geöffnet am 18. Sept. 2016

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Elixir (69 Forks)batch import
Hacktoberfestenhancementgood first issue

Repository-Metriken

Stars
 (1.509 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 9T 11h) (5 gemergte PRs in 30 T)

Beschreibung

For example, display 1.23 Million instead of 1.23M.

This should be an option unit_label with possible values :short and :long defaulting to short. It can then be picked up by the different formatters, in the first version just the console formatter to display long names or short names.

edit (@PragTob) : changed to be a general option and not just for the console

Contributor Guide