-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Slow load times ~ 15 second for every project every time #1070
Comments
@srevenant sent me a profile of a window reload and I noticed this block in the middle: ![]() That's Pulsar hitting I can't find a similar block in my startup profile, even though @srevenant and I are both on Intel Macs running Sonoma. But I have seen this sort of slowdown in the past when I've run an unsigned version of Pulsar, such as one generated from a CI job. I don't have a good understanding of what invalidates the compile cache (or if this is just a visible symptom of a problem elsewhere), but I might have to go spelunking through the Git history to understand more about |
I would say this appears to have been addressed as the GUI is no longer frozen after selecting load a project as of v1.123. |
I can't think of an explanation for why it would've suddenly gone away, but I'm glad. As for the Git tab, I'm still at a loss. A profiling session might reveal the same underlying (mysterious) cause, or it might be something unrelated. Git, in particular, shells out a lot, so that's one possible cause of Git-related slowdowns — if there were an issue that made Node slower to spawn processes, then it would affect Git much more than other editor features. |
@scooterlord Do you have any packages installed? If so, does the problem persist if you launch in safe mode? |
@savetheclocktower thanks for getting back to me on this one. In safe mode, the window load time is 1563ms. For packages, except the default ones I have the following community packages installed: Although I don't have a screenshot of those packages, it didn't take long for them to be loaded - like 200ms overall. Now, after I ran in safemode, I closed it and run again, and now it loads in 1221ms - so it's fairly inconsistent. Up until the point I replied to this ticket, it was usual to take more than 7-8secs until it became responsive. Is there anything else I can investigate further? |
So you're saying that a normal launch now seems to be quicker? If so, that suggests you might've had a problem with cached window state, even though that doesn't seem to make sense (you mentioned this was a brand new installation). If it starts happening again, try the following:
If that doesn't fix it, then do the dance you did this time — quit and relaunch in safe mode, then quit that and relaunch in normal mode. Then please comment on this ticket again and let me know what the resolution was. If this comes back and the solutions above don't do anything, or if this happens often enough that the workarounds are annoying, you can run Pulsar from the command line with the I don't have an explanation for why this happened this time or why it happens in the general case. In #892 we see a more traditional case of a very slow launch after an upgrade, and in those scenarios The good news is that most of Atom’s development occurred in the open, so it's often just a matter of spelunking through Git/GitHub history to figure out why certain things are the way they are. I'm optimistic that we'll discover the root cause eventually; it's probably just a matter of investing the time. |
@scooterlord Thanks for the data in that last comment. But very interesting how much it seems the window state effects your startup. |
@scooterlord Have you tried any of the things I suggested in my previous comment? Edit: I see you've tried |
@savetheclocktower Hello and happy new year! Sorry it took me so long to respond. Here are the results of the |
Thanks in advance for your bug report!
What happened?
Slow load times ~ 15 second for every project every time
Pulsar version
1.119
Which OS does this happen on?
🍎 macOS
OS details
Sonoma
Which CPU architecture are you running this on?
x86_64/AMD64
What steps are needed to reproduce this?
start projects. Discussed w/ @savetheclocktower
Additional Information:
No response
The text was updated successfully, but these errors were encountered: