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

RAM usage/footprint #1047

Open
serpico opened this issue Nov 23, 2024 · 1 comment
Open

RAM usage/footprint #1047

serpico opened this issue Nov 23, 2024 · 1 comment

Comments

@serpico
Copy link

serpico commented Nov 23, 2024

Description

I was browsing a particular user page, going down and down products and I noticed my laptop slowing to the point I couldn't do much.
Now I do have a quite a few tabs open ( 250+ ) but until a couple of weeks ago I had much more.

I was wondering if it could be the infinite scroll, if a particular user has a lot of products and we keep going back in time ( like 2-3 years back ), loading and loading...same goes for last products page if we load a lot of products I imagine...

Image

@raphodn, you know how little I understand about the whole computer thing but I'll try to reproduce with another firefox profile on the same machine, with only one tab running prices.openfoodfacts.org and loading products with great abandon, see if there's a connection, if it's the same kind of RAM footprint...or not.

@raphodn raphodn changed the title RAM usage/footprint - no rush RAM usage/footprint Nov 24, 2024
@raphodn
Copy link
Member

raphodn commented Nov 24, 2024

It's a good concern..

Most likely due to the infinite scroll indeed, that loads everything in the page, and keeps adding cards/tooltips for each new product..

In vuetify there is a component that could be useful here - https://vuetifyjs.com/en/components/virtual-scroller/#usage - but I'm not sure it works well with row/cols. I didn't try to implement it when adding the "infinite scroll" feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants