yokoffing / Betterfox

Firefox user.js for speed, privacy, and security. Your favorite browser, but better.
MIT License
6.11k stars 151 forks source link

Betterfox's user.js causes "hitching" and latency spikes when using Firefox #233

Closed nicholashead closed 1 year ago

nicholashead commented 1 year ago

BEFORE YOU BEGIN

I have attempted the following troubleshooting suggestions:

REPORT

Describe the bug A clear and concise description of what the bug is.

If I install the default user.js into a clean Firefox profile, then restart Firefox, the browser will experience "hitching" and latency spikes. This is most obvious by grabbing the title bar of Firefox and moving the window back and forth. It will not move smoothly, and every second or so "stutters". This same hitching/latency causes issues with using the browser in general, with how tabs load and the overall "sluggishness" feel of the browser.

I am unsure what is causing this in user.js - but it's happening even on completely clean profiles with user.js applied as-is.

To Reproduce Steps to reproduce the behavior:

1. Setup a new profile in Firefox, and set as default.
2. Deploy user.js to that new profile folder, and restart to get new profile in use.
3. Using the browser feels "sluggish" when switching between tabs, navigating, etc - and also dragging the window around the screen with the mouse results in hitching every second or so.

Expected behavior A clear and concise description of what you expected to happen.

For Betterfox to not cause Firefox to behave in this way. Stock Firefox works fine and doesn't hitch.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

nicholashead commented 1 year ago

I literally just updated to 118 and the hitching actually seems to be much improved/almost gone. So maybe this was an incompatibility with 117.0.1 and Betterfox?