code-423n4 / code-423n4/code423n4.com
Abnormally high CPU usage from canvas element?
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 179
- 分支
- 173
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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?).
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,使用提供的 canvas 元素在 code4rena 主頁上重現該報告,並比較 Chrome 中的 CPU 使用率與報告條件下的 CPU 使用率。檢查頁面的 three.js r150 canvas 行為,並記錄可靠的重現方式,包括任何顯示卡或環境差異。找出原因,或以足夠的證據縮小報告範圍以便後續追蹤,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, three.js
- 領域
- frontend, web-dev
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100