Greasy Fork is available in English.

YouTube RM3 - Reduce Memory Usage by Reusing Components

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

作者
𝖢𝖸 𝖥𝗎𝗇𝗀
今日安裝
4
安裝總數
603
評價
5 0 0
版本
0.1.0019
建立日期
2024-12-21
更新日期
2024-12-28
尺寸
31.7 KB
相容性
相容於 Firefox 相容於 Chrome 相容於 Opera 相容於 Safari 相容於 Edge
授權條款
MIT
腳本執行於

YouTube RM3

Description

Now it work for chatroom elements mostly. The further support is under review.

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