-
Notifications
You must be signed in to change notification settings - Fork 278
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
[Bug] 4.0.15 hangs on ESR #3557
Comments
I've tried TST 4.0.15 + Firefox ESR 115.11.0 on Ubuntu 22.04 (on VirtualBox) but couldn't reproduce such a hanging. Could you collect a performance profile? |
Not sure what has changed since yesterday, but it managed to load at all today, though slow. It's still 4.0.15 |
Thanks, I've realized that a change introduced to follow Firefox's change https://bugzilla.mozilla.org/show_bug.cgi?id=1897595 triggers the problem. |
The issue is that you're synchronously determining the overflow state on |
@emilio Hmm, the initial "overflow" state is required to know when the state is actually changed, so the synchronous operation treestyletab/webextensions/common/common.js Line 994 in 9022cb0
treestyletab/webextensions/common/common.js Line 1002 in 9022cb0
I can give up to determine the initial state but it looks to mean the initial resizing will be detected as "overflow" or "underflow" here treestyletab/webextensions/common/common.js Line 1007 in bf09c98
|
Anyway this throttling may be effective to reduce needless style computations for tab elements inserted to the DOM tree and immediately removed by quick scrolling. |
I didn't really measure time, so can't compare whether it's faster than before. It at least finished loading, unlike yesterday :) |
I had noticed a performance degradation (specifically when scrolling up in the list of tabs) on 4.0.15 (firefox 126, windows 11). The development build makes it much better, though perhaps slightly slower than before 4.0.15. |
With the commit 07bed44 now TST uses overflow/underflow events instead of ResizeObserver again if those events are available. Performance regression reported at here will go away until Firefox 128, but it is not a fundamental solution. |
ive been able to reproduce this issue as well with only 70 tabs on edit, i bookmarked my tabs, closed all of them, even cleared all site cookies/data. edit 2: found a workaround after struggling with this for a few days:
@piroor looks like you added backward compatibility as a workaround already, when can we expect a TST update including 07bed44 |
Everyone, is this still an issue or can we close it? |
Performance is fine for me now. |
Abstract
Since today TST is unusable on FF ESR 115.10.0 on Linux 64bit. It uses 400% CPU, and is either very slow, or just never successfully loads anymore, instead keeping blinking between showing progress bar and not showing. I tried to restart firefox several times, that's how having different results.
I see this in browser console
I downgraded to 4.0.14 for now, and it works fine.
Steps to reproduce
Expected result
Actual result
Environment
The text was updated successfully, but these errors were encountered: