bencheeorg / benchee

Easy and extensible benchmarking in Elixir providing you with lots of statistics!
MIT License
1.41k stars 66 forks source link

Extract Statistex from benchee #301

Closed PragTob closed 5 years ago

PragTob commented 5 years ago

This is step one where Statistex still lives in benchee. Goal is to have it in lib so that it could just be copy and pasted over into its own repository.

PragTob commented 5 years ago

I still gotta think about what the right behaviour for a lot of these functions given an empty list is:

I think one can make arguments for all of these. An argument against nil would be that for mode it is then indistinguishable from "this has no mode".

I kinda like the error tuple because it can also be put into type specs nicely.

PragTob commented 5 years ago

And of course now dialyzer goes wild :'( I'll look at these another time, not sure what I changed to make it go :bomb: