Skip to content

Conversation

@vmx
Copy link
Member

@vmx vmx commented May 18, 2018

When a batch of blocks was sent, the counter for the calculating
the size wasn't reset. After the initial batch, every message was
sent individually, which lead to a performance bottleneck. With
this change receiving larger files (> 2MiB) is about 30% faster.

When a batch of blocks was sent, the counter for the calculating
the size wasn't reset. After the initial batch, every message was
sent individually, which lead to a performance bottleneck. With
this change receiving larger files (> 2MiB) is about 30% faster.
@vmx vmx requested review from daviddias and dignifiedquire May 18, 2018 13:32
@ghost ghost assigned vmx May 18, 2018
@ghost ghost added the status/in-progress In progress label May 18, 2018
@vmx vmx merged commit 739ad0d into master May 20, 2018
@ghost ghost removed the status/in-progress In progress label May 20, 2018
@vmx vmx deleted the fix-send-batches branch May 20, 2018 12:40
@dignifiedquire
Copy link
Member

thank you for catching this @vmx!

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.

4 participants