bencheeorg/benchee

More abstract/generic console formatter/table

Open

#197 geöffnet am 12. März 2018

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Elixir (69 Forks)batch import
enhancementhelp wanted

Repository-Metriken

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

Beschreibung

The console formatter is rather involved with the details of generating our table like nice and lean benchee output. Ideally we could create a module (or use a library, if it fits our use case) that decouples the rendering of the tabular like layout from the values we put in and how we format those.

What I'm thinking is something like this:

magic(collection_like_scenarios, %{"Column Header" => data_structure_or_function_ describing_values_are_rendered})

Something like this would be nice. It'd also make future features nicer in my head (optimal fit columns that aren't a specified width but just enough to accomodate their contents with some ok spacing).

It'd hopefully also make all our :io_lib.format code much easier to access.

This is not high priority but would certainly be nice and in the big "break it apart" could be another library that we extract :)

Contributor Guide