-
Notifications
You must be signed in to change notification settings - Fork 37
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
Consider removing project information by default #56
Comments
Hi, how many project buffers are you using when you feel slow? Are you working with I generally open about 300~500 buffers on my MacBook 2014 and don't feel any laggy though. The scrolling is still fluent enough in most (99.5% I think) cases. (Note that the gif is missing frames and 'looks laggy'.) Remote buffer parsing may be slow if you are having a slow tramp connection. But Also could you provide the detail result of profiling? |
Hi, almost all the buffers you have opened seem to belong to a project. This is indeed the fast path for projectile.
I observe the slowness to be proportional to
I do not use tramp at all because it's too slow.
Sure, will do so. |
I don't know to make a fancy gif, but here are my profiler results for a single call of For comparison, in my PR the cost projectile is barely registered by the profiler.
|
Projectile information is quite useful, but the functions to get the project root can be quite slow. It would be great to have a mode to disable the projectile interaction.
In addition, the following field makes
ivy-rich
drastically slower:While it's a useful field, it should not be in the default list of fields if it has such bad performance characteristics.
The text was updated successfully, but these errors were encountered: