-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/exec: Avoid to spawn a new goroutine for every iteration
Create a dedicated goroutine to process iterations when a new ActiveVU is created for the Ramping arrival rate. It changes the previous behaviour where instead a new goroutine was created for every new iteration. The previous solution was impacting the expected rate (iterations/s) using a number of PreAllocatedVUs around thousand. Added a Benchmark to check the rate with a set of PreAllocatedVUs cases. Closes #1944
- Loading branch information
Showing
3 changed files
with
178 additions
and
29 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
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