-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor where we're running things in parallel
The original fix I had for this was kind of hacky, but this moves the parallelization down to just where we're measuring runtimes. This should actually be slightly more efficient when we're running benchmarks in parallel (and less buggy) since before we were running the `before_scenario` and `after_scenario` hooks before each _instance_ of the benchmark (when running in parallel). Now we run them only once before each scenario, and each scenario itself is run in parallel.
- Loading branch information
1 parent
7cbc91f
commit eaba176
Showing
2 changed files
with
10 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
defmodule Benchee.Mixfile do | ||
use Mix.Project | ||
|
||
@version "0.11.1" | ||
@version "0.12.0" | ||
|
||
def project do | ||
[ | ||
|