henrikruscon / hyper-statusline

Status Line Plugin for Hyper
MIT License
387 stars 79 forks source link

Makes Hyper and subprocesses run really slow #10

Closed caesar closed 7 years ago

caesar commented 7 years ago

I initially thought this was an issue with Hyper, but it turns out disabling hyper-statusline solves it.

I have a task which takes about 30 seconds to run when using iTerm (or, it turns out, vanilla Hyper). When using Hyper with hyper-statusline enabled, the same task takes around 80 seconds - in other words, more than twice as long.

The task in question is a private (unpublished - in development) Node.js application which is running Prince in a child process to render a PDF from an HTML file.

I haven't tried doing any further debugging – I don't have much time at the moment so I've simply gone back to iTerm for now. But if you have any ideas I will try to check them out, likewise if you want me to test anything else…

henrikruscon commented 7 years ago

Could you try the debug-speed branch and check if you see any improvement? ✌️

caesar commented 7 years ago

Yes!!! That fixes it! :shipit:

Thanks for the awesome project by the way, you'll probably see some more issues from me with some UI and feature ideas in the near future once I've played with Hyper a bit more…

caesar commented 7 years ago

I haven't closed this issue because the problem still exists in master, I guess you'll want to leave it open until you merge in the fixes?

henrikruscon commented 7 years ago

Ay thanks, glad you like it! 👊

Neat, there's definitely room for additional features.