Funkin icon indicating copy to clipboard operation
Funkin copied to clipboard

Performance Issue: Chrome uses too much CPU

Open DaTaco488 opened this issue 7 months ago • 19 comments

Issue Checklist

  • [x] I have read the Contributing Guide
  • [x] I have checked the Issues/Discussions pages to see if my issue has already been reported
  • [x] I have properly titled my issue

Platform

Newgrounds (Web/HTML5)

Browser

Google Chrome

Version

0.6.4

Description (include any images, videos, errors, or crash logs)

I loaded the game on NG a couple of days ago and it was really laggy. I thought nothing of it until I tried playing again today and checked task manager because it was super laggy again. It showed Chrome using up to 70-80% of my CPU resources. I opened the Chrome task in task manager and found a single "Google Chrome" was using a lot of resources. Thinking it was the game, I hit end task. It was the game, and I don't know if this is a NG thing or my computer. Could you help me with this?

btw, if you want to know what my CPU is, it's a 12th Gen Core i7 12700H

Task Manager: Image

Steps to Reproduce

  1. Open the game on NG using Google Chrome.
  2. Check task maniger.
  3. If Chrome is taking a lot of resources, try closing NG and checking task manager again.
  4. If your resources from Chrome are now low then you have what is happing to me

DaTaco488 avatar May 06 '25 21:05 DaTaco488

Does the itch.io Windows downloadable build use a similar amount of resources? If so, this is just how the game normally runs.

Hundrec avatar May 06 '25 22:05 Hundrec

For me, the downloadable build for Windows from itch.io never uses more than 5% of my CPU. I just opened the game on Newgrounds and it used a similar amount of my CPU.

VioletSnowLeopard avatar May 06 '25 23:05 VioletSnowLeopard

I tried downloading from itch.io, and it worked fine. If I play it on NG or the itch.io web embed, it still lags like crazy and takes up a ton of CPU resources. Good to know I got it running great on my PC.

DaTaco488 avatar May 07 '25 00:05 DaTaco488

Interesting, can you see if CPU usage is similar for Newgrounds on a different browser?

Hundrec avatar May 07 '25 00:05 Hundrec

Just downloaded Firefox (im not dealing with edge) and it works great! It ran at around 5-10% CPU for NG and itch.io, which is awesome compared to Chrome. So I really don't know if it's a Chrome thing or not. I

DaTaco488 avatar May 07 '25 01:05 DaTaco488

chrome is chrome

AbnormalPoof avatar May 07 '25 01:05 AbnormalPoof

Chrome issue it is! Now can you try entering Character Select on Firefox? Trying to see something...

Hundrec avatar May 07 '25 01:05 Hundrec

Solution?

Don't use chrome

Lasercar avatar May 07 '25 05:05 Lasercar

Solution? use Brave

rrev07 avatar May 07 '25 09:05 rrev07

Solution? Use Opera GX /j

No but seriously try using Floorp

On Wed, May 7, 2025 at 5:49 AM reverie @.***> wrote:

rrev07 left a comment (FunkinCrew/Funkin#5034) https://github.com/FunkinCrew/Funkin/issues/5034#issuecomment-2857915901

Solution? use Brave

— Reply to this email directly, view it on GitHub https://github.com/FunkinCrew/Funkin/issues/5034#issuecomment-2857915901, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5VHQKV4NMRFW3DEU6H4INT25HJJNAVCNFSM6AAAAAB4SGWP6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNJXHEYTKOJQGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

moxie-coder avatar May 07 '25 09:05 moxie-coder

We all know the true answer is to use Internet Explorer. :trollface:

NotHyper-474 avatar May 07 '25 11:05 NotHyper-474

Chrome issue it is! Now can you try entering Character Select on Firefox? Trying to see something...

Just unlocked Pico on Firefox (really wish save data would not be in cookies) and tried. It won't get past the lock, going in the key and then making some unlocking noises. It won't unlock Pico in Firefox. Chrome allows me to select Pico and play Pico Mixes and stuff, but it still uses a lot of my CPU.

DaTaco488 avatar May 07 '25 20:05 DaTaco488

Chrome issue it is! Now can you try entering Character Select on Firefox? Trying to see something...

Just unlocked Pico on Firefox (really wish save data would not be in cookies) and tried. It won't get past the lock, going in the key and then making some unlocking noises. It won't unlock Pico in Firefox. Chrome allows me to select Pico and play Pico Mixes and stuff, but it still uses a lot of my CPU.

It seems that Firefox still has the issue with character select then: #4766

VioletSnowLeopard avatar May 07 '25 20:05 VioletSnowLeopard

Thanks for testing! The Firefox Character Select issue was reported in https://github.com/FunkinCrew/Funkin/issues/4578.

Looks like Firefox can't handle Pico, so you might want to try another alternative.

Hundrec avatar May 07 '25 20:05 Hundrec

Thanks for testing! The Firefox Character Select issue was reported in #4578.

Looks like Firefox can't handle Pico, so you might want to try another alternative.

Okay. Also if I find another browser that works with Pico I should test a song with him right?

DaTaco488 avatar May 07 '25 20:05 DaTaco488

Yep! As far as I know, only Chrome and Firefox have browser-specific issues

Hundrec avatar May 07 '25 20:05 Hundrec

Just tried on Opera works great! BF and Pico songs both run. So I don't know seems to be a chrome issue

DaTaco488 avatar May 07 '25 20:05 DaTaco488

Great, thanks for the update!

I'll leave this issue open so the Chrome issue can be addressed.

Can you rename it to "Performance Issue: Chrome uses too much CPU"?

Hundrec avatar May 07 '25 20:05 Hundrec

Sure! Hopefully this gets fixed

DaTaco488 avatar May 07 '25 20:05 DaTaco488