You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@srevenant sent me a profile of a window reload and I noticed this block in the middle:
That's Pulsar hitting NativeCompileCache each time a legacy Tree-sitter grammar is loaded, and taking between 300ms-700ms each time. This block represents 5.5 seconds where the UI is frozen to the user.
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 NativeCompileCache and the problems it solves. (Here's where it was introduced.)
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: