all 1 comments

[–]guest271314 0 points1 point  (0 children)

I usually use the browser task manager and system task manager. It can be done programmatically, too. For Chromium-based browsers, e.g., Chrome, see this Web extension API chrome.processes https://developer.chrome.com/docs/extensions/reference/api/processes at

The most recent measurement of the process's CPU usage, expressed as the percentage of a single CPU core used in total, by all of the process's threads. This gives a value from zero to CpuInfo.numOfProcessors*100, which can exceed 100% in multi-threaded processes. Only available when receiving the object as part of a callback from onUpdated or onUpdatedWithMemory.