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

Output performance slow compared to gnome-terminal #21

Closed
jbreitbart opened this issue Jul 1, 2017 · 6 comments
Closed

Output performance slow compared to gnome-terminal #21

jbreitbart opened this issue Jul 1, 2017 · 6 comments
Labels
S: Stale This issue had no activity for two months

Comments

@jbreitbart
Copy link

I have been playing around with terminus and noticed that cat is relatively slow for large files.

With terminus:

$ cat /var/log/vbox-install.log |wc -l
6516

$ time cat /var/log/vbox-install.log
...
real    0m12.963s
user    0m0.000s
sys     0m0.052s

With gnome-terminal

$ time cat /var/log/vbox-install.log
...
real	0m0.681s
user	0m0.000s
sys	0m0.032s
@pablomayobre
Copy link

Are you comparing a native C++ application with a hybrid app made with web technologies? Real question

@jbreitbart
Copy link
Author

Yes, sure. Both serve the same purpose and whereas I did expect terminus to be slower, I did not expect a slowdown by a factor of ~18.

@pablomayobre
Copy link

pablomayobre commented Jul 2, 2017

Yeah, similarly to how Chrome is probably 100 times slower than a curl request...

Rendering is what is taking time

@OvermindDL1
Copy link

Rendering is what is taking time

What about rendering being done async so that actual printing to the screen runs at full speed to a buffer?

The speed that the terminal can receive the text (not necessarily display it, but 'receive' it) can often cause a difference in running speed of programs that flush output routinely.

@sylveon
Copy link
Contributor

sylveon commented Sep 1, 2017

At least terminus is better than hyper. When running journalctl --no-pager, hyper will completely freeze for a while. Terminus will slowdown, but completely render the thing.

@stale
Copy link

stale bot commented Aug 26, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks unless you comment.
Thank you for your contributions.

@stale stale bot added the S: Stale This issue had no activity for two months label Aug 26, 2018
@stale stale bot closed this as completed Sep 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Stale This issue had no activity for two months
Projects
None yet
Development

No branches or pull requests

4 participants