您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Optimizes animation calls for lower GPU/CPU consumption
当前为
Currently the youtube player issues an animation frame for every frame the mouse is hovering the player. This puts a lot of pressure on CPU and GPU. This script somewhat prevents style recalculations and requestAnimationFrame calls
Constantly hovering without moving mouse is achieved by hovering the mouse above the volume button
Here are the results
Specs: Ryzen 5600X, RTX 3080, 2666Mhz 8gb x 4, Windows 10 22H2
Mode | proc CPU | proc GPU | total GPU | Additional GPU usage by Desktop Window Manager |
---|---|---|---|---|
IDLE | 0.3% | 6.4% | 6.5% | ~x0.02 |
Default hovering | 2.9% | 20.5% | 36.7% | ~x0.8 |
Perf fix | 0.7% | 6.5% | 7.0% | ~x0.1 |
most of the javascript overhead is still run when the mouse is over the player, which would explain the cpu still being high.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址