everpeace / elixir-benchmark

Elixir benchmark utilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby inspired Benchmark module

Dump module to benchmark things.

Example

require Benchmark

Benchmark.times 10000, do: 2 * 4 # => [ min: 1 microseconds,
                                 #      max: 669 microseconds,
                                 #      median: 2 microseconds,
                                 #      average: 3.5644 microseconds ]

About

Elixir benchmark utilities.