The worst is when this happens when you're not doing anything that should be computationally intensive, just entering text in a web app that abuses JavaScript.
Even just entering text into the search bar uses loads of resources. Every character entered does a full search of your history and bookmarks, sends a request to Google to do autocomplete, prefetches the web page you are typing, applies spellcheck, etc.