Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send minimum of data to async statistics calculation
Done to avoid copying potentially hige inputs and functions to the processes when all they need to do is crunch some silly small numbers. HUGE performance gain while reducing memory usage a lot for benchmarks with bigger data in use. Also use Task.async_stream instead of our good old `Parallel.map` as with the dawn of `inputs` I have seen people do 30+ scenarios (10 benchmarks with 3 inputs will do that to you), where if we're running on a 4 core system we might be doing too much in parallel also potentially skyrocketing memory consumption.
- Loading branch information
Showing
1 changed file
with
56 additions
and
27 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