defmodule Rollex.Timings do def time() do {time, _} = :timer.tc(Rollex.Timings, :same_string_compute, [10000]) IO.puts time end def same_string_compute(times) do for _x <- 1..times do Rollex.roll("1-(33+(44*(3.45/(1.23+(8.1*(0.5))))))") end end end