-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Why is Hyper startup slow on Windows? #2980
Comments
I think it's just an electron thing. With modern desktops having lots of RAM, I'd love an option for hyper to close to the tray but stay in memory. I habitually close things when I don't need to. |
So it starts slowly, and it's true |
Help is welcome to improve it @reaCodes 👍 There's lots of things that could be improved in the startup process. On my Macbook it opens in 2 seconds (cold start with plugins), while the built in terminal opens in about 1 second, I don't think that's slow. I wonder why you're seeing 4 seconds, do you have any plugins installed? What CPU do you have? |
me too |
Because of the startup time, I still often use CMD and PowerShell |
What did you expect from an Electron app |
@albinekb - check out the following gist - it seems this may help? https://gist.github.com/paulcbetts/da85dd246db944c32427d72026192b41 |
WebTorrent and VS Code starts faster than their most famous contenders, @Aksamyt ... |
@p-sherratt apologies for the stupid question, but for a non-JS dev, where would that gist go (for a Hyper install on Windows)? Top of resources/bin/cli.js? Very happy to try it and report back . Given that the install of Hyper isnt likely to change during the process of starting, this does seem like a sensible optimization. We are seeing much higher startup latencies on high end hardware; I suspect partly because our "My Documents" is a network share and even offline there is some additional latency on the Windows side. We do not see these latencies with software like Chrome. |
+1 |
Any updates on this (including @daviesalex's question)? I would love to use a good looking terminal emulator. But a startup time of 3-5s on my system is unacceptable as I only need a couple of seconds for most of my tasks before I close the terminal again. My hardware: |
+1 |
Any progress on this? Running on a top-of-the-line machine and it still takes 3 to 4 seconds... |
I believe it has to do with plugins. If you have the plugins you use loaded locally rather than every time you start hyper it tries to update them it will load much quicker. Anyone want to test my this I need to load up hyper and try it but I believe that is what I had done in the past to speed up the load time. I think it will speed up the load time significantly. |
It's not related to plugins. I've got no plugins installed and my PC is running on a $600+ CPU from Intel and still, Hyper starts slow. (And Hyper executable files are installed on a M.2 SSD) |
Loading personal and system profiles took 1289ms. Is how long mine takes, So I can relate. It used to take much longer for me. (exact amount of time I do not remember.) I'd like to find out at what point what is taking so long to load as well. |
Does Hyper use V8 snapshots? If not, that would probably help. |
FYI I have a branch with v8 snapshots but didn't see any significant improvement on Linux. I need to set up a windows VM and test it there. If anyone wants to try it on windows, I can publish it later today |
It is due to session being created and after the windows since we attach the session to the window. This can be optimised by detaching the pty and session from the creation as having a RPC binding between the two, This way we can open the UI while the session is not yet created and attach it once it's ready. |
Look faster on canary. Would need to metrics the boot time of the app. but it's faster indeed. |
Test from console.
Total Rounded MS for 3 windows: Startup speed acceleration: Disclaimer: Based on theses metrics, it is clear the the startup of the canary is faster then the latest stable, Optimistic session creation from #3352 helped optimising the startup of @juancampa I will close this for now and if other complaints, we can investigate more. |
Looks promising, but shouldn't this remain open until the release is available? |
Leave it open until the release is there please. |
Will keep it open until release |
Canary 3.0.0 c8 startup cost 3 ~4 s |
Any new information about a release date? |
Issue
Why is Hyper startup slow on Windows? CMD is the fastest, then is PowerShell. But Hyper is slow than PowerShell. On my laptop, Hyper takes 4 seconds to startup.
Are there some ways to speed up Hyper?
(Note: I am talking about the speed of startup, not the speed of other aspects. In other areas, they have little difference in speed.)
The text was updated successfully, but these errors were encountered: