jasonplatts / nova-todo

A Panic Nova extension for todo and fixme management.
https://extensions.panic.com/extensions/jasonplatts/jasonplatts.TODO/
MIT License
29 stars 7 forks source link

plugin is unresponsive with 100's of egrep spawned #43

Open bnmnetp opened 1 year ago

bnmnetp commented 1 year ago

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.

Halopend commented 1 year ago

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.

jasonplatts commented 1 year ago

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.