The developer of the web app... who is already running all sorts of other code in your browser.
What’s with the assumption that the service provider cannot observe how their system performs?
In a similar way, your software is borrowing time and computing resources from your users. You need to use them sparingly and respect that you do not own their hardware, but are a guest they have invited in. It's not your computer to do whatever you want with.