Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abnormally high CPU usage from canvas element? #8653

Open
natevw opened this issue Mar 28, 2023 · 1 comment
Open

Abnormally high CPU usage from canvas element? #8653

natevw opened this issue Mar 28, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@natevw
Copy link
Contributor

natevw commented Mar 28, 2023

Reported at https://discord.com/channels/810916927919620096/810931711609143326/1089772242361127033:

<canvas id="background" data-engine="three.js r150" width="807" height="170" style="width: 807px; height: 170px;"></canvas>

Above code is from code4rena main page , someone need to check for issues in this piece of code that caused my computer to freeze by using 100% of its CPU resources every single time .

I do not see similar testing in Chrome myself, but could be something to review or at least keep an ear out for if other similar reports come in to corroborate or provide more clues as to the situations that could cause this (e.g. is it graphics-card dependent?).

@natevw natevw added bug Something isn't working help wanted Extra attention is needed labels Mar 28, 2023
@carrotsmuggler
Copy link

Faced similar issue sometimes.
Fixed by turning hardware acceleration on in the browser (chrome). Shows up on Brave as well with hardware acc. off, but not on firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants