chadtree icon indicating copy to clipboard operation
chadtree copied to clipboard

High CPU Many Processes

Open mbpowers opened this issue 3 years ago • 2 comments

Whenever I have Chadtree enabled in makes the fans go into overdrive. I have some (10-15) nvim sessions open in background tmux sessions and each one seems to create a chadtree process. Not sure if this is the intended amount of cpu usage, but makes it pretty unusable for me.

What exactly is it doing in the background to cause this much CPU load? Is there any way to just have one instance do this work instead of all of them doing what I assume may be redundant tasks?

Sorry, I know little of how this works on the back-end. Thanks for the cool program though it has a lot of cool features and I would love to be able to use it.

mbpowers avatar Dec 27 '21 03:12 mbpowers

Same! For now, the solution I've adopted is to sleep (Ctrl+Z) any nvim tmux pane that I'm not actively running. If I switch back to the window/pane, fg to wake it up.

I do find it pretty wild that a single ChadTree process will soak up to 20% of one of my cores near continuously. And if I have a bunch of nvim instances, it's pretty much game over for any intense data processing that I'm trying to run in the background. Better experience than NerdTree, but annoying in this regard for sure.

SynapticSage avatar Jan 25 '22 18:01 SynapticSage

Bumping: Activity Monitor tells me that CHADtree's python is consistently the biggest energy draw. Does this come with built-in crypto mining, or what? Can't really use my laptop as a battery-powered machine if I use this.

image

NReilingh avatar Jun 24 '23 01:06 NReilingh