bencheeorg/benchee

Add configuration options to override Benchee default values

Open

#45 opened on Oct 12, 2016

View on GitHub
 (8 comments) (0 reactions) (0 assignees)Elixir (69 forks)batch import
Hacktoberfestenhancementgood first issuehelp wanted

Repository metrics

Stars
 (1,509 stars)
PR merge metrics
 (Avg merge 9d 11h) (5 merged PRs in 30d)

Description

Benchee is getting a lot of configuration options - which is great. But the more configurations options and formatters there are, the more people would probably prefer to configure some of them globally for their project.

Something like:

config :benchee, :options, %{} # fancy map or keyword list overriding default options

These options should then represent the new default options. So merge order would be something like: default_config <- app_config <- benchmark_config (<- meaning right overrides left)

Contributor guide