decomp.me icon indicating copy to clipboard operation
decomp.me copied to clipboard

Frontend occasionally hangs

Open Xeeynamo opened this issue 2 years ago • 6 comments

image

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.

Xeeynamo avatar Oct 15 '23 20:10 Xeeynamo

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

ethteck avatar Oct 15 '23 20:10 ethteck

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

conorgolden1 avatar May 08 '24 15:05 conorgolden1

@Xeeynamo has this still been happening for you? My guess is that it's stale and we can close this for now

ethteck avatar May 08 '24 15:05 ethteck

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% image after going back to the platform page image 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 image main page does it too

conorgolden1 avatar May 09 '24 00:05 conorgolden1

image

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.

Xeeynamo avatar May 11 '24 15:05 Xeeynamo

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.

joshlory avatar Jun 19 '24 04:06 joshlory