Firefox has a suite of `about:` URLs[1], one of them is about:performance which will show you the Task Manager (their name) which has a sort of CPU and RAM column. It even shows you when it's javascript on a tab chewing up resources and not the extension.
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/The...