Frontend occasionally hangs
I've been noticing the website sometimes hangs and becomes unresponsive. This happens both at the homepage and while decompiling a scratch. It seems to casually happen as soon as the page is loaded. When it does not happen immediately it seems the page will continue to be fine. I was not able to debug the issue, but I noticed the tab takes around 99% of CPU usage. I noticed this problem since more than a month.
Oh no..I've not noticed this, and I use Chrome for the site. I wonder if we can get more info about what it's doing when it's using all that cpu
Can anyone document a replication of this? I tried to recreate this in brave, chrome and firefox on both windows and ubuntu but I haven't managed to get a cpu usage above 22% (on chrome/windows). It would be nice if we had a little more information so I can pinpoint a re-creation
@Xeeynamo has this still been happening for you? My guess is that it's stale and we can close this for now
As per chippy on discord:
it seems to occur when going back from a scratch to the platform page?
platform page -> scratch -> back to platform page
CPU Usage goes to 100%
after going back to the platform page
it seems that clicking on a scratch doesn't reset the number of DOM Nodes immediately so returning to the platform page adds more.
after clicking on a few scratches and going back
main page does it too
Yeah I confirm the bug is still present. The easiest way to replicate it is to go to a scratch, click on the icon on the top left to return back to the account scratches, then click it again to go back to the home-page and click to any of the scratches. Rinse and repeat one or twice and the bug will occur.
FWIW this only seems to happen after enabling the wasm module. I was getting this hang regularly with it enabled, and never since disabling it.