Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Hangs/Slows down siginificantly when dealing with streaming logs #2449

Open

Description

@klevermonicker

Issue

Fairly easy to reproduce, when I'm looking through say our elk stack and trying to find out what happened to logstash and looking through log files, catting those through hyper slows it to a crawl and it's unable to keep up with the output and locks up the terminal where I have to either wait for 2-3 minutes or force quit out of the application.

I tried moving to canary to see if it was addressed there and it's not.

Activity

  1. CuriousFurBytes commented on Nov 14, 2017

    @CuriousFurBytes

    It happens to me too.
    For example, when running a docker project, or building something with maven, it takes a long time.

  2. farfromrefug commented on Nov 23, 2017

    @farfromrefug

    Same thing here. IT s actually really bad because sometimes it takes 30s to show the updated logs. Which makes it hard to work with.

  3. richrace commented on Jan 24, 2018

    @richrace

    I've noticed that output from processes/logs etc. is slow when running certain Plugins.

    The following code output is very slow when I have hypercwd and hyper-statusline enabled. If I remove both these plugins, I do not experience any slow down in output.

    Still happens in Canary 11.

    for ((i=1; i<=10000; i++)); do
       echo $i
    done

    Related issues:
    hharnisc/hypercwd#37
    henrikruscon/hyper-statusline#69

  4. countergram commented on Mar 29, 2018

    @countergram

    I removed all plugins and still am experiencing major slowdowns with lots of output. E.g. running the yes utility locks the UI (unresponsive to keyboard and mouse input).

  5. chabou commented on Mar 30, 2018

    @chabou
    Contributor

    @countergram Which Hyper version do you use?

  6. countergram commented on Mar 30, 2018

    @countergram

    Hyper 1.4.8 (stable) on MacOS Sierra, also tried building canary, same deal.

  7. added
    📊 Type: Performance
    on Apr 23, 2018
  8. x3b3ch3 commented on Aug 23, 2018

    @x3b3ch3

    Same issue for me Hyper 2.0.0 (stable), no plugin, Mac OS High Sierra 10.13.4, MacBook Pro, 16Go. RAM.
    Try `cat /dev/urandom' Mac OS, You will get a realistic picture of the problem.
    Maybe some options in .zshrc inherited from iterm2??

  9. danielkalen commented on Aug 31, 2018

    @danielkalen

    Here is a demonstration of a side-by-side comparison of hyper(left) and iterm(right). After some input, I tried hitting ctrl+c on both terminals and you can see how hyper couldn't even process my input until like 15 secs later (and it seems like only 3 ^Cs were picked up, but I sent that command at least 25 times).

    screencast

    This renders hyper practically useless for serious work... Only reason I'm still keeping Hyper as my main terminal because I know this will be fixed soon :)

  10. danielkalen commented on Sep 1, 2018

    @danielkalen

    Mind you that this was tested on hyper 2.1.0 canary

  11. KarlAmort commented on Sep 1, 2018

    @KarlAmort

    I just tried this with:

    ruby -e "10000.times {|i| puts i }"
    

    ...and the output was pretty much instant. Can you run that and see if it gives you any problems, or otherwise create a small test case?

    As mentioned in #687 (comment), Hyper's speed has improved rather dramatically, but if it's a top priority for your work, you will probably be happier with the native Terminal.app for the foreseeable future.

    Responses to interrupts (ctrl+c) being delayed is a known problem (see #555, #1121, and #1484), but may actually require changes in https://github.com/xtermjs/xterm.js or https://github.com/Microsoft/node-pty.

  12. danielkalen commented on Sep 4, 2018

    @danielkalen

    @MatthiasWinkelmann I tried this command and the exact same thing is happening i.e. it hangs like a mofo. Given that you cannot replicate this issue maybe this is something unique to my env i.e. a certain plugin probably generating errors. I'll check it out and report back

  13. danielkalen commented on Sep 4, 2018

    @danielkalen

    Although I had a bunch of errors on an existing terminal session originating from hyper-statusline and seemingly internal code.
    screen shot 2018-09-04 at 10 54 05 am

    But I started a new window and ran the command and here is what I've got (this is a gif 30fps):
    screencast

  14. richrace commented on Sep 4, 2018

    @richrace
  15. danielkalen commented on Sep 4, 2018

    @danielkalen

    @richrace confirmed! Removed hyper-statusline and it's fixed!

  16. joshbetz commented on Nov 20, 2018

    @joshbetz

    Related #2502

  17. mabdelfattah commented on Jan 9, 2019

    @mabdelfattah

    @richrace @danielkalen +1 for disabling hyper-statusline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    📊 Type: Performance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions