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

This page is slowing down Firefox ... #8

Open
accforgithubtest opened this issue Sep 15, 2024 · 6 comments
Open

This page is slowing down Firefox ... #8

accforgithubtest opened this issue Sep 15, 2024 · 6 comments

Comments

@accforgithubtest
Copy link

accforgithubtest commented Sep 15, 2024

With the latest version, I am seeing this issue on my desktop with i7 + 32G ram system. The Erin tab becomes non-responsive within just one minute.

Also noticed that erin straight away hangs on my somewhat old android tablet and does not play anything anymore.

Have not had this issue until approx version 1.4.0, used to be working fine on both the old tablet as well as the desktop.

Edit : Desktop is a core i7 + 32gb ram system, ubuntu 20.04 + latest firefox stable version.

@will-moss
Copy link
Owner

will-moss commented Sep 15, 2024

Hi,

Thanks a lot for opening the issue and providing those details.

I would like to ask you :

  • Does it also happen with another browser like Chrome or Safari?
  • How many videos do you have?
  • Does the "freeze" happen only on startup, or the app is just constantly slow and unusable?

Also, if it's not too much to ask :

  • Do you have a public link to your instance that I could check?
  • Does downgrading to 1.4.0 automatically resolve the issue?

Thanks a lot in advance for your help.

Update : I have just published a new release (1.10.2) that generally should drastically improve performances and bandwidth. First, the authentication mechanism now sends a HEAD request rather than GET, using less bandwidth when your server has a lot of videos. And second, now the metadata-matching system isn't O(n*n) anymore, which should improve performances in your browser if you had a lot of videos to loop over.

@accforgithubtest
Copy link
Author

Thank you for the detailed reply. I got the latest version and tried it, still have the same issues.
Regarding the info you are looking at -

  • Yes, seeing the same issue in chrome as well. Currently I do not have safari.
  • About 2000 clips from the phone, all of them are still in the original mp4 format and have not been trans-coded.
  • The application is constantly slow and unusable (either doesn't play, or hangs the browser with the warnings).
  • Sorry, its not public, just a local set up.
  • Yes, I do not see the issue in 1.4.0 (even if I see its its very rare). I see the issue all the time only in newer versions. Same videos in the same location / format, only change is upgrading to latest version.

@will-moss
Copy link
Owner

will-moss commented Sep 16, 2024

Thanks a lot for those new details.

Is there any chance you'd have the time to try running every single version between 1.4.0 and 1.10.2? (10 versions in total). That would help us determine which version specifically introduced the issue for you. I've tried testing the latest version on a cheap VPS with 6000+ files, using Firefox and Chrome on mobile, and I couldn't reproduce the issue.

Also, you talked about warnings hanging the browser. If you have access to the JS console in the browser dev tools, could you share those warnings here?

Last question : Do you have any browser extensions? Does using incognito mode help at all?

Thanks a lot once again.

Edit : You may want to try, in Firefox, in the top right : Hamburger button > More tools > Task Manager. It will show the usage of RAM per process. It could help to understand what's causing the issue. On my end, Erin uses 60 MB of RAM.

@accforgithubtest
Copy link
Author

Thanks for the details, will try to get more specific version info, but will need couple days to try multiple versions.
Will check the JS console and Task Manager and get the details as well.

@accforgithubtest
Copy link
Author

Apologies, I haven't been able to reliably re-create the issue. I still see it sometimes while everything works fine at other times.
Should this issue be open in case someone else manages to re-create the issue ? Or better closed off since I cannot re-create the issue reliably ?

@will-moss
Copy link
Owner

No need for apologies, thanks already for trying.

The inconsistent reproducibility makes me think that it could have something to do with the videos maybe? Some files could, somehow (due to size, due to encoding, etc.), create performance issues?

Let's leave it open, so anyone can pass by and enlight us!

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