0

I'm trying to write integration tests for a Gnome-Shell extension, and I'd like to write a test that checks to make sure the extension doesn't consume too much CPU.

I can find the CPU for gnome-shell with:

ps -C gnome-shell -o %cpu

but I can't find any way to find it on a per-extension basis. Is there any way to do that?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.