Skip to content

get_status: Flatten input before sending requests#6

Merged
venthur merged 1 commit intoventhur:masterfrom
jamessan:status-perf
Aug 12, 2015
Merged

get_status: Flatten input before sending requests#6
venthur merged 1 commit intoventhur:masterfrom
jamessan:status-perf

Conversation

@jamessan
Copy link
Contributor

aca7ac2 introduced a performance
regression (as reported in Debian bug #795198) for typical inputs, since
every bug's status would be requested individually.

Flattening the input to a single list before performing the batch
requests ensures we're not performing unnecessary requests.

Signed-off-by: James McCoy jamessan@debian.org

aca7ac2 introduced a performance
regression (as reported in Debian bug #795198) for typical inputs, since
every bug's status would be requested individually.

Flattening the input to a single list before performing the batch
requests ensures we're not performing unnecessary requests.

Signed-off-by: James McCoy <jamessan@debian.org>
@venthur
Copy link
Owner

venthur commented Aug 12, 2015

Thank you very much for your patch! I've applied it with a minor modification: I renamed L to list_. I'm currently preparing the upload to unstable.

@venthur venthur merged commit 8efc42c into venthur:master Aug 12, 2015
@jamessan jamessan deleted the status-perf branch August 12, 2015 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants