When using WHS.withWindowLoop as explained in the documentation, webviewhs starts to consume a high percentage of CPU (100% load almost all the time the app is running).
I have managed to find that the problem is related to the iteration function passed to WHS.withWindowLoop.
As a workaround I have changed (\window -> pure True) to (\window -> threadDelay 8333 $> True), so it updates at ~120fps.
I think my workaround is not the ideal solution. Is there other expected (undocumented) way to handle this or is it a bug?