KM engine low impact

I have been using KM for one week.

I have configured only a few macros, but I am surprised with the low impact of KM engine.

I have added now some macros that are hearing audio output changes and I thought that would increase the CPU impact, but I was wrong.

I only wanted to show this incredible screenshot of my activity monitor. It makes me happy :slightly_smiling_face:

Yes, KM is efficient and wonderful. It is a life-changing product for me.

You are speaking of the KM Engine. The KM Editor is a different program, and it's also efficient, but it does introduce some occasional lag due to the fact that after many edits it will save your macros to disk automatically. So quite often when I'm typing in the KM Editor there is a delay between what I type and what I see on the screen. Typically it will pause after one second of keyboard inactivity, and the pause seems to be about 1.5 seconds on my Mac. (Perhaps it's my own fault, as I have 1300 macros.)

Just curious, how much CPU is your KM Engine using?

Firstly, please understand that CPU percentages for an Apple Silicon Mac have a special meaning. My Mac has 8 CPUs, so the number can go up to 800%, because each CPU has "100%" as its possible usage number. Most applications for macOS are limited to run on a single CPU, so they will never go over 100%. But a Mac can go up to 400% in terms of adding up all its processes and still be using only half of its CPU power. When you see "2%" that means 2% of a single CPU.

So at this moment I'm using several macros and they are working hard, so my CPU usage is about 20% for the KM Engine, but if you divide that by 8, (for the 8 CPUs) that's only about 3% of my Mac's total power.

I'm glad to hear it.

Keyboard Maestro Engine is designed to use virtually no CPU when not running a macro. Regardless of what triggers you have.

When it's running a macro, that is a different matter, but while sitting waiting for a trigger it should use virtually no CPU, so it's good to know it is behaving properly.

When the editor is opened, I see there are two running processes called "about:". Is this part of KM Editor processes?

That’s a good question… If you double-click on the entry, you can see more about the process. On my system, I see at least one "about:" process when the KM Editor is running (there were several until I restarted it) and more when another application, MailMate, is running.

In both cases, the parent process is given as “launchd (1)”. The process groups are for “Keyboard Maestro Web Content” and “MailMate Web content”. I see lots of those processes for MailMate.

I have been unable to find an answer from Web searches, but my guess would be that the process is connected with HTML rendering.

Hmm, I expect Peter will know so I apologise if this is just noise till he can comment!

Thanks a lot @Airy for your reply. I had read several times the relation of the CPUs and the percentage in different websites, but never understood it so well until I've read your post.

I'm learning a lot in this forum, very nice people here. :slightly_smiling_face:

You're right that I can double click it! :grinning:

As I have never understood the concepts of the windows of the inspector processes, my mind has forgotten that I could check that.

Thanks for the reminder/suggestion. :slightly_smiling_face:

Same, my two "about:" processes are "Keyboard Maestro Web Content".

I haven't configured nothing for internet/browsers, so I guess that's why these processes are 0% in my activity monitor.

IMHO not noise at all, very helpful!

I imagine those are web processes, system processes to handle displaying web pages.

Or as I suggested, HTML in general, because MailMate seems to use that process a lot, and a lot of email uses HTML.

Yes, any kind of web pages (eg the Welcome to Keyboard Maestro window is a (local) web page).

Right, yes, a matter of defining “Web page”, one might say? I do wonder why Apple called the process “about:”! My guess would be that it originally fitted a narrow use case.

I believe those "abouts" are just popups. See Beyond AboutWeb for the HTML Prompt for a fuller discussion.