Implement a Basic block/yield with Elixir372Mustafa TuranKhaja MinhajuddinFollowFeb 24, 2017 · 1 min readYou can also use the built in :timer.tc(fn -> your_code_to_be_benchmarkedend)