ex_ex v0.1.0 ExEx.Timer
Functions that extend the capabilities of Erlang’s :timer.
Link to this section Summary
Functions
Measures the running time (in milliseconds) of a lambda
Link to this section Functions
Link to this function
measure_ms(function)
Measures the running time (in milliseconds) of a lambda
Examples
iex> Timer.measure(fn -> Process.sleep(1000); :return_code end)
{1001.226, :return_code}