 
   defp comparison_report(input_name, scenarios, system, filename, unit_scaling) do
     input_json = JSON.format_scenarios_for_input(scenarios)
-    
+
     units = units(scenarios, unit_scaling)
     sorted_statistics = scenarios
                         |> Statistics.sort()

  @spec format(Suite.t) :: {%{Suite.key => String.t}, String.t}
  def format(%Suite{scenarios: scenarios, system: system,
               configuration: %{
                 formatter_options: %{html: %{file: filename}}}}) do
    data = scenarios
           |> Enum.group_by(fn(scenario) -> scenario.input_name end)
           |> Enum.map(fn(tagged_scenarios) -> reports_for_input(tagged_scenarios, system, filename) end)
           |> add_index(filename, system)
           |> List.flatten
           |> Map.new

         end)
      |> Enum.group_by(fn({stat_name, _}) -> stat_name end,
                       fn({_, value}) -> value end)

    %{
      run_time: Duration.best(measurements.average, strategy: unit_scaling),
      ips:      Count.best(measurements.ips, strategy: unit_scaling),
