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

Enabling Stylus access to all sites tanks performance in Speedometer and other Browser performance websites #1914

Open
nintendork07 opened this issue Feb 7, 2025 · 4 comments
Labels
bug help wanted not reproducible We couldn't reproduce it locally

Comments

@nintendork07
Copy link

nintendork07 commented Feb 7, 2025

Description

  1. Allow Stylus access to all websites in a chromium based browser like Brave ("Allow this extension to read and change all your data on websites you visit: All Sites")
  2. Go to Speedometer 2.0 or 3.0
  3. Test with the extension enabled and disabled. On my Apple M1, the score should be 32 for Speedometer 3.0 and 435 for Speedometer 2.0. When the extension is enabled, I only get 22 in Speedometer 3.0 and 285 for Speedometer 2.0.

It can be fixed if you disable Stylus OR if you allow Stylus access to ONLY the website you use it on (for me, I use it only for youtube so I put it to ONLY allow Stylus access to youtube's website). Speedometer gets normal scores then. This issue has been occurring for me for the past few months, but I just now figured out that the Stylus extension was causing it.

System Information

  • OS: MacOS 15.3
  • Browser: Brave 1.75.175 - Chromium 133
  • Stylus Version: 2.3.10

Screenshots, links, CSS

Expected score

Image

Score with Stylus enabled with access to all sites

Image

I only have one style enabled in Stylus for youtube called AdashimaaTube.

https://github.com/sapondanaisriwan/AdashimaaTube

@tophf
Copy link
Member

tophf commented Feb 7, 2025

I only see 1% or less difference in Chromium browsers on Windows.

@nintendork07
Copy link
Author

nintendork07 commented Feb 7, 2025

I'm seeing quite a huge difference on Windows 11 as well. On my 9800X3D, I'm getting a baseline speedometer 2.0 score of 541. With stylus enabled, I get 487, with subsequent scores of 384 and finally 322. This is especially noticeable if you run them back to back.

With the extension disabled, it stays within margin of error around 540, but with stylus enabled it's a large dropoff.

It only happens with this one extension, even if I disable all others.

It occurs on both windows and mac, and I've tested both microsoft edge & brave. All have the same issue.

On windows, it seems speedometer 3.0 isn't affected but on mac it definitely is. Speedometer 2.0 is affected on both. If I set stylus to only have access to one site (youtube in my case) then the scores remain unaffected.

@tophf
Copy link
Member

tophf commented Feb 7, 2025

Well, I can't replicate it, so maybe you could record a trace yourself in devtools -> Performance -> button, then upload it here.

@tophf tophf added help wanted not reproducible We couldn't reproduce it locally labels Feb 7, 2025
@tophf
Copy link
Member

tophf commented Feb 7, 2025

Could you test the nightly build? I've disabled one potentially expensive call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted not reproducible We couldn't reproduce it locally
Projects
None yet
Development

No branches or pull requests

2 participants