     retrying fn ->
       capture_io fn ->
         range = 0..10
-        config = Map.merge @config, %{time: 20_000, warmup: 10_000}
+        config = Map.merge @config, %{time: 100_000, warmup: 10_000}
         stats = %{config: config, jobs: %{}}
                 |> Benchee.benchmark("noop", fn -> 0 end)
                 |> Benchee.benchmark("map", fn ->

  end

  test ".measure doesn't take longer than advertised for very fast funs" do
    capture_io fn ->
      projected = 10_000
      config = Map.merge @config, %{time: projected, warmup: 0}
      suite = %{config: config,
                jobs:   %{"" => fn -> 0 end}}
      {time, _} = :timer.tc fn -> Benchee.measure(suite) end

      assert_in_delta projected, time, 5_000,
                      "excution took too long #{time} vs. #{projected} +- 5000"
    end
  end

  test ".measure doesn't take longer for fast funs even with warmup" do
    retrying fn ->
      capture_io fn ->
        time      = 20_000
        warmup    = 10_000
        projected = time + warmup
        config = Map.merge @config, %{time: time, warmup: warmup}
        suite = %{config: config,
                  jobs: %{"" => fn -> 0 end}}
        {time, _} = :timer.tc fn -> Benchee.measure(suite) end

        assert_in_delta projected, time, 2000,
                        "excution took too long #{time} vs. #{projected}"
      end
    end
  end

                |> Map.get(:statistics)

        Enum.each stats, fn({_, %{std_dev_ratio: std_dev_ratio}}) ->
          assert std_dev_ratio <= 2.0
        end
      end
    end
