holy-unblocker / website-aio

All-in-one Holy Unblocker bundle

Home Page:https://website-aio-e9x.koyeb.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

High CPU usage for no reason.

starlite-developer opened this issue · comments

I really like your project it is super fast and easy to set up Holy Unblocker.

While testing around with it and playing Minecraft Beta, I noticed that the game was kind of laggy so I began to look at the CPU usage. Even when on the options page is it using 40-50% CPU. My computer(a chromebook) isn't very powerful and Minecraft is a hard game to run so I decided to test on other pages. Here are the results of my testing:

Test: Monitor cpu usage on homepage
Off Tab:
Average: 0%
Max: 1%
On Tab:
Average: 40%
Max: 150%(1.5/4 cores maxed out)

This cpu usage is super high despite doing nothing. Is there a way for me to fix this?

P.S. If it's a web crypto miner, is there a way for me to throttle it more for better performance?

Yes. You may need to change the Monero node we connect your browser to.

I point you to the theatre repository if you want to bring any changes to the game. Ideally you can pull in the latest versions of Eaglercraft (for the 0.30 and 1.5.2 branch). https://git.holy.how/holy/theatre.git

For the website being very slow while idle, this is abnormal. The JavaScript ran by the website should be very minimal and optimized. I see two possible causes of this performance:

  • a bug in the swc compiler/swc helpers
  • background extensions/apps
  • physical RAM being exhausted and your chromebook falling back to writing memory to the eMMC

Perhaps you can run the same tests on about:blank and example.org. This would help determine if it is due to background extensions/apps or the website itself.

After testing on about:blank and example.org, which didn't show any CPU problems, I'm just going to blame this on my chromebook being low quality trash.

Any way to make it any easier for my chromebook? I am experiencing 20 seconds per frame instead of frames per second for Minecraft :(

After testing on about:blank and example.org, which didn't show any CPU problems, I'm just going to blame this on my chromebook being low quality trash.

Any way to make it any easier for my chromebook? I am experiencing 20 seconds per frame instead of frames per second for Minecraft :(

I can put a pin on upgrading the Minecraft games in the theatre. Frame rates could have potentially improved since we added the game (~4 months ago).

Chromebooks will always struggle to run games due to how minimal they are.