YouTube RM3 - Reduce Memory Usage by Reusing Components

一個在背景執行的簡易工具,可重複利用 YouTube 元件,從而在長期減少記憶體使用量。

目前為 2024-12-23 提交的版本,檢視 最新版本

作者
𝖢𝖸 𝖥𝗎𝗇𝗀
評價
0 0 0
版本
0.1.0018
建立日期
2024-12-21
更新日期
2024-12-23
尺寸
31.7 KB
相容性
相容於 Firefox 相容於 Chrome 相容於 Opera 相容於 Safari 相容於 Edge
授權條款
MIT
腳本執行於

Way of Test

  1. https://www.youtube.com/watch?v=IKKar5SS29E
  2. Open Chat Room
  3. The pre tickers are shown.
  4. wait for few seconds ( 3s ~ 5s )
  5. change from "top chats" to "all chats"
  6. all content refreshed.
  7. pre tickers disappear.
  8. wait for the next next ticker appears ( sufficient time for 4s CONFIRM_TIME)
  9. the tickers appear would cause less memory increase.
  10. can be verified in DevTools Performance Recording.

General Test (Loading of Chatroom in a Live Archive for 30s)

  1. https://www.youtube.com/watch?v=IKKar5SS29E
  2. Open Chat Room
  3. Play 1s (live chat initialization)
  4. Open DevTools and start record
  5. Record for >30s

Before

After