View Source Utilx.BenchUtils (Utilx v0.1.2)
Utility for quick and simple benchmarking functions in Elixir.
Link to this section Summary
Functions
Benchmarks the execution time of a piece of code. It should be used only in really simple cases.
Link to this section Functions
Benchmarks the execution time of a piece of code. It should be used only in really simple cases.
examples
Examples
iex> timeit "Sleep for a while", do: :timer.sleep(1000) Executed Sleep for a while in 1.00 seconds