makemd icon indicating copy to clipboard operation
makemd copied to clipboard

High CPU usage

Open zanodor opened this issue 2 years ago • 4 comments

Even when most functionality is turned off (except for the Flow toolbar), CPU usage is high (65-75 %). Disabling the plugin makes consumption normal again (6-7%). Some processes must still be working in the background even with most everything turned off.

Tested on Linux Ubuntu 20.04 with Obsidian 1.4.5.

zanodor avatar Sep 06 '23 21:09 zanodor

Are you sure its coming from make.md? Try with out any other plugins , only make.md Cant test it on linux but on windows 0% usage

miztizm avatar Sep 17 '23 16:09 miztizm

FWIW, my observations:

  • MacBook Air 2015 (i5-4260U CPU)
  • Manjaro Linux (Arch Linux) with SwayWM
  • Obsidian 1.4.13 with Make.md as the only plugin
  • A tiny vault

Without Make, CPU load is around 2% With Make, CPU load rises to 5%

5% absolute CPU usage is far from being a massive load, but the increase is much more than 100%. When Make is enabled, I see an Electron renderer process running on about 2% CPU.

I'd suggest to

  • test if the load depends on vault size
  • test if another plugin makes Make go high on CPU

christophberger avatar Sep 24 '23 09:09 christophberger

Thanks for confirming, Chris.

The vault is close to 20k with images counted.
Using/testing the plugin typing-assistant's floating toolbar for now.

zanodor avatar Sep 24 '23 14:09 zanodor

I maybe have the same problem. One CPU core always uses at least 100%, when I disable make.md then obsidian uses 5%.

Tested on Linux Debian 12 with Obsidian 1.5.3

mro95 avatar Jan 21 '24 13:01 mro95