Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube Stuttering and Slow Load Times with uBlock Origin Enabled #39

Open
GrassCrestShield opened this issue Jan 18, 2024 · 2 comments

Comments

@GrassCrestShield
Copy link

Title: YouTube Stuttering and Slow Load Times with uBlock Origin Enabled

Description:

I've been using Hide Shorts for YouTube (version 1.6.4) on Firefox and it's been working great. However, I've recently encountered an issue when uBlock Origin (version 1.55.0) is enabled alongside Hide Shorts for YouTube.

Issue:

When both Hide Shorts for YouTube and uBlock Origin are enabled, YouTube starts to stutter and load slower than usual. In addition, I've noticed a spike in single-core CPU usage during this time.

Interestingly, when uBlock Origin is enabled on its own (without Hide Shorts for YouTube), I do not experience this stuttering or slow load times. This leads me to believe that the issue may be related to some interaction between Hide Shorts for YouTube and uBlock Origin.

Potential Cause:

Recent updates to YouTube could be a potential cause of this issue. There have been reports of YouTube slowing down for users with ad blockers. The slowdowns were initially blamed on YouTube, but it was later determined that the issue was with the Adblock Plus extension. Specifically, a bug in a recent update of Adblock Plus was identified as a likely contributor to these slowdowns.

However, this bug in Adblock Plus is not causing the issue when both Hide Shorts for YouTube and uBlock Origin are enabled. It's possible that an update to YouTube, which ended up causing a similar issue with Adblock Plus, may have introduced changes that are causing the observed issues when both Hide Shorts for YouTube and uBlock Origin are enabled.

Steps to Reproduce:

  1. Enable both Hide Shorts for YouTube and uBlock Origin on Firefox.
  2. Navigate to YouTube and start watching a video.
  3. Observe stuttering, slow load times, and increased single-core CPU usage.

Expected Behavior:

YouTube should load smoothly and quickly, without causing significant CPU usage spikes, regardless of whether uBlock Origin is enabled.

Actual Behavior:

YouTube stutters, loads slowly, and causes single-core CPU usage spikes when both Hide Shorts for YouTube and uBlock Origin are enabled.

Environment:

  • Firefox version: 121.0.1 (64-bit)
  • Hide Shorts for YouTube version: 1.6.4
  • uBlock Origin version: 1.55.0
  • Operating System: Windows 19045
@GrassCrestShield
Copy link
Author

Update:

I am still experiencing the same issue with the most recent version of Hide Shorts for YouTube (version 1.7.2). YouTube continues to stutter and load slower than usual when both Hide Shorts for YouTube and uBlock Origin are enabled. The single-core CPU usage also spikes during this time.

@Vulpelo
Copy link
Owner

Vulpelo commented Jan 20, 2024

Thank you for descriptive information.
Unfortunately with both uBlock Origin and Hide Shorts for YouTube plugins turned on, I haven't experienced any video slowdown or stuttering as you have described.

Do you have any specific filters setup on uBlock Origin?

Also I am guessing that setting an option "Timeout before rechecking videos" in Hide Shorts for YouTube made no difference?

Nevertheless during performance testing I did have noticed some potential slowdowns. I will look into fixing it, to improve the plugin's performance.

@Vulpelo Vulpelo linked a pull request Jan 20, 2024 that will close this issue
@Vulpelo Vulpelo removed a link to a pull request Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants