Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid unnecessary overhead when parsing large messages #9

Merged
merged 2 commits into from Jun 30, 2020

Conversation

eli-darkly
Copy link

@eli-darkly eli-darkly commented Jun 26, 2020

This is a verbatim borrowing of a PR from the upstream repo. A customer pointed out the issue and has found that the fix greatly improved performance for them. Basically, the previous logic was re-scanning already-parsed content for no goo reason when a long message arrived in many chunk.

We have diverged enough from upstream at this point that I don't want to try to pull from it right now, although we should still try soon.

@eli-darkly eli-darkly merged commit 7ce822e into master Jun 30, 2020
@eli-darkly eli-darkly deleted the eb/ch76111/chunk-speed branch June 30, 2020 00:46
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.

None yet

2 participants