Performance Issue | banner on processingfoundation.org/grants taking up 100% of CPU (on firefox)
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- javascript
- 領域
- frontend, performance, web-dev
研究方向
在 Linux 上的 Firefox 141 中重現 processingfoundation.org/grants 的問題,並使用 Firefox DevTools 的效能工具檢查橫幅草圖。追蹤 requestAnimationFrame 回呼,並與 Chrome 比較行為;完成的標準是橫幅不再將 CPU 使用率推高到 100%,也不再阻塞主執行緒數百毫秒。
由索引模型根據 Issue 內容生成。
描述
Select the most appropriate label(s) for this issue.
Performance
Describe the bug
the banner on the grant sub-page of processingfoundation.org makes the website take up 100% of the CPU.
my quick performance test from the firefox devTools revealed, that there are a lot of calls to requestAnimationFrame callback which sometimes take up to 500ms and therefore blocking the main thread.
I originally noticed this when I had my own p5.js sketch running on a second screen and the sketch suddenly lagging extremly behind. I"ve also conducted a quick test on my machine with chrome where the problem doesn't seem to appear, tomorrow I might also test it on my macBook with safari.
Expected behavior
The processingfoundation.org/grants banner-sketch shouldnt be taking up 100% of browser CPU
Browser
Firefox
Browser version
141.0 (64-bit)
Operating system
Linux POP_OS
- 主要語言
- MDX
- 星號
- 90
- 分支
- 122
- 平均合併
- 1 小時 43 分鐘
- 30 天內合併 PR
- 3
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
processing/processing-website 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
processing/processing-website#716 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
processing/processing-website#703 ·
-
Good First Issue Help Wanted Reference
難度 1/5 1 小時以內 新手友好度 90/100
processing/processing-website#698 · 5 則留言 · 1 個 reaction ·
-
難度 1/5 1 小時以內 新手友好度 72/100
processing/processing-website#681 · 2 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
processing/processing-website#646 · 3 則留言 ·
查看 processing/processing-website 的全部 Issue
相似的 Issue
-
Browser Waiting for: Product Owner
難度 2/5 1-3 小時 新手友好度 85/100
getsentry/sentry-javascript#24577 · 1 則留言 ·
-
1.0.0-alpha2 Type/Improvement
難度 2/5 1-3 小時 新手友好度 68/100
wso2/dpdp-accelerator#272 ·
-
light
難度 2/5 1-3 小時 新手友好度 85/100
aemdemos/patients-stryker#253 ·
-
難度 2/5 1-3 小時 新手友好度 86/100
clerk/javascript#9852 ·
-
bug good first issue
難度 2/5 1-3 小時 新手友好度 88/100
amponce/archive-movie-browser#165 ·