Skip to content

Conversation

peske
Copy link
Contributor

@peske peske commented Dec 27, 2019

I've extracted BufferedReader feature from my previous PR (#635), in order to make a simpler, separate PR.

@felixse, although you can merge this PR (BufferedReader class will be used anyway), it looks that it isn't enough. Please compare results of cat text_file.txt (where text_file.txt is a 5 megs text file):

  • Current code (without any new PR): about 60 seconds;
  • With BufferedReader implemented (this PR): about 30 seconds;
  • With BufferedReader, protobuf and ZeroMQ (Improved terminal output transfer #635): about 9 seconds.

Obviously we should replace the serialization / communication mechanism.

@peske
Copy link
Contributor Author

peske commented Dec 27, 2019

I've made it as you like it! :)

@felixse felixse merged commit 8008ba1 into felixse:master Dec 27, 2019
@peske peske deleted the ap/bufferedread branch February 4, 2020 10:02
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