Skip to content

Move benchmark as a mix task

Closes #72 (closed)

Using mix run benchmarks/basic_algo.exs seems error prone and lots of typing. We could move this as a mix task like:

# list of available functions to be benchmarked
mix bench --list

# bench a specific function
mix bench repeat_string

# get results as html
mix bench repeat_string --html

Merge request reports

Loading