bencheeorg/benchee

Add option for displaying long labels for scaled units

Open

#28 aperta il 18 set 2016

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Elixir (69 fork)batch import
Hacktoberfestenhancementgood first issue

Metriche repository

Star
 (1509 star)
Metriche merge PR
 (Merge medio 9g 11h) (5 PR mergiate in 30 g)

Descrizione

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

Guida contributor