   defp column_lengths(header, rows) do
     max_lengths = Enum.map(header, &String.length/1)
 
-    Enum.reduce(rows, max_lengths, fn(row, max_lengths) ->
+    Enum.reduce(rows, max_lengths, fn row, max_lengths ->
       Stream.map(row, &String.length/1)
       |> Stream.zip(max_lengths)
       |> Enum.map(&max/1)

  defp format_total(total_time, total_count) do
    time_per_call = :erlang.float_to_binary(divide(total_time, total_count), [{:decimals, 2}])

    ["Total", Integer.to_string(total_count), "100.00", Integer.to_string(total_time), time_per_call]
  end

  defp divide(_, 0), do: 0.0


  defp add_totals(call_results) do
    {function_count, call_count, total_time} =
      Enum.reduce(call_results, {0, 0, 0}, fn {_, {count, time}}, acc ->
        {function_count, call_count, total_time} = acc
        {function_count + 1, call_count + count, total_time + time}
      end)

