nova-todo icon indicating copy to clipboard operation
nova-todo copied to clipboard

plugin is unresponsive with 100's of egrep spawned

Open bnmnetp opened this issue 1 year ago • 2 comments

I have tried to use this plugin several times over the last many months. But every time I re-install it I get a message that the plugin is not responding. In addition I can see that there are many many egrep processes spawned.

There must be something in my system or setup that is causing the problem but I have no idea what it could be. Any help would be appreciated.

bnmnetp avatar Mar 02 '23 20:03 bnmnetp

I'm hoping to dig in at some point at look at the stack since there's clear bottlenecks in the way it's processing information. It freezes for me as well. It appears to scan everything on load and then tracks when files are modded (within nova) to speed things up.

Nova doesn't really have benchmarking tools so I imagine it's rather difficult to figure out where that bottleneck is occurring, but the codebase here is small enough it shouldn't be too hard to find/inject a bit of print out here/there to give a picture.

Halopend avatar Mar 03 '23 21:03 Halopend

Thanks for reporting this issue. I'm sure that it's frustrating. Unfortunately, with work committments, I haven't had the time put into the extension and look into the problem. I will certainly do some digging as soon as I'm able. I haven't forgotten about the extension. 😄

In the meantime, please feel free take a look @Halopend. Nova has made a number of changes to the extension API and has made some rather significant changes to Nova structurally (now using treesitter, etc) since I first wrote this extension. It is likely time for a major revision to the extension. When I get a break in my work schedule, I will be circling back around to the project.

jasonplatts avatar Mar 03 '23 21:03 jasonplatts