-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix batch option in benchmark script
The group_iterable was converting each group into a tuple, hence consuming the generator expression and triggering Redis requests. This new version of group_iterable instead returns a generator of generators, which get consumed in batches, one after the other so that not all requests get sent at once.
- Loading branch information
Alex Marandon
committed
Feb 27, 2015
1 parent
f65d13a
commit 47d5703
Showing
1 changed file
with
10 additions
and
7 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