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

Minimize calls to gen_tcp:send() to optimize performance. #137

Merged
merged 1 commit into from
Sep 29, 2014

Conversation

jdhood1
Copy link

@jdhood1 jdhood1 commented Sep 24, 2014

Hey Bob,

It's Jeremy again. Here's the commit I wrote you about. If you wouldn't mind, make sure I didn't screw something up.

The unit tests with the word "hundred" in them indicate a 50 to 1 performance improvement with this change. The tests previously took 4.03 seconds to run and are now taking 0.08 seconds. That sounds way too good to be true. In the context of our system, we saw more like a 1.5% performance improvement.

Jeremy

…ate a 50 to 1 performance improvement with this change.
etrepum added a commit that referenced this pull request Sep 29, 2014
Minimize calls to gen_tcp:send() to optimize performance.
@etrepum etrepum merged commit 7c2ab82 into mochi:master Sep 29, 2014
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