Skip to content

Commit

Permalink
Wait infinitely for statistic computation so it does not time out
Browse files Browse the repository at this point in the history
* fixes #71
  • Loading branch information
PragTob committed May 1, 2017
1 parent d079d58 commit 1e4f351
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## Features (User Facing)
* Providing an unrecognized configuration option (say `runNtime` instead of `runtime`) will now raise an exception

## Bugfixes (User Facing)
* In 0.7.0 statistics generation might time out, this is fixed by waiting infinitely - thanks @devonestes for the [report](https://github.com/PragTob/benchee/issues/71).

## Breaking Changes (User Facing)
* Dropped support for elixir 1.2, new support is elixir 1.3+
* `Benchee.Config` was renamed to `Benchee.Configuration` (important when you use the more verbose API or used it in a Plugin)
Expand Down
2 changes: 1 addition & 1 deletion lib/benchee/utility/map_value.ex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ defmodule Benchee.Utility.MapValues do
{key, Task.async(fn -> do_map_values(child_map, function) end)}
end)
|> Enum.map(fn({key, task}) ->
{key, Task.await(task)}
{key, Task.await(task, :infinity)}
end)
|> Map.new
end
Expand Down

0 comments on commit 1e4f351

Please sign in to comment.