Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NCBC-1929: Use Partioner for LoadTests RateLimiter
Motivation ---------- The current SemaphoreSlim approach is adding a lot of CPU overhead. Modifications ------------- Use a Partioner to split the list of items to be processed into subsets based on the rate limit. Increased SmallDocuments test size from 5M to 10M documents to keep test runtime large enough to give good data. Results ------- Tests using RateLimiter should be less skewed by the limiter itself. Change-Id: Ic2daea1541055ceab0fe18f9de4e8c4d2fa2a7f6 Reviewed-on: http://review.couchbase.org/107909 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Mike Goldsmith <goldsmith.mike@gmail.com>
- Loading branch information
1 parent
6872042
commit a11a8ba
Showing
3 changed files
with
15 additions
and
26 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