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

Add benchmark #65

Closed
erikologic opened this issue Aug 20, 2022 · 1 comment · Fixed by #80
Closed

Add benchmark #65

erikologic opened this issue Aug 20, 2022 · 1 comment · Fixed by #80

Comments

@erikologic
Copy link

erikologic commented Aug 20, 2022

Hey nice library!

Would be good to understand the perks and what not of using this against an imperative approach.
Can you add benchmarks reports in the README file pls?

@Primetalk
Copy link
Owner

  1. Thanks.
  2. There is some overhead caused by wrappers and lazy evaluations. For instance, it's unreasonable to expect good performance sending separate bytes via stream. However, when using with large byte buffers or data structures, the overhead should be negligible.
  3. The advantage of the io/stream is in the absence of some classes of bugs, and ability to create complex bug-free programs.
  4. Eventually will add. Feel free to create a PR if you need it sooner.

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 a pull request may close this issue.

2 participants