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

Awfully slow when using :stream t #165

Open
turtle-bazon opened this issue Mar 22, 2019 · 0 comments
Open

Awfully slow when using :stream t #165

turtle-bazon opened this issue Mar 22, 2019 · 0 comments

Comments

@turtle-bazon
Copy link

With specifying :stream t we can use callbacks with streams. So we can do read-sequence and write-sequence. Trying to implement echo server via stream. Seems ok, but comparing execution of command is different. Using stream is far more slow than using buffers.

time (cat /tmp/debian-9.8.0-amd64-netinst.iso | nc -q 5 localhost 3456 > /tmp/debian-9.8.0-amd64-netinst.iso.1)

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

No branches or pull requests

1 participant