Giter VIP home page Giter VIP logo

Comments (6)

Yureien avatar Yureien commented on August 11, 2024

I have pinpointed it to this line - parseListFromJson(param, response). This takes ~30 seconds.

from frames.

jahirfiquitiva avatar jahirfiquitiva commented on August 11, 2024

Hi @fadedcoder

I have spent a few hours trying to address this issue and improve it, but unfortunately can't provide any better solution for now, especially given that this is a very specific use case of the app and you must be aware that 15K wallpapers is a really huge and considerable amount of wallpapers.

My suggestions:

  1. Be sure to use a fast server.
  2. Think about all users. Not everyone will have a super fast connection to load such a big amount of data. (JSON file is almost 10Mb)
  3. Reduce the amount of wallpapers. I'm sure nobody will check 15K wallpapers. Even 5K is a fairly good amount.
  4. Optimize the wallpapers so they load faster.

If you don't want to apply any of these, or you do but no significant improvements are visible, then I kindly encourage you to fork the project and contribute to it by doing the required improvements. I will be sure to check and accept your changes if I consider they improve the dashboard. And I'm sure you will help a lot of people out there too.

Thanks for using Frames.
bitmoji

from frames.

Yureien avatar Yureien commented on August 11, 2024

from frames.

jahirfiquitiva avatar jahirfiquitiva commented on August 11, 2024

@fadedcoder
Would you mind if I implement your code in the original dashboard?

from frames.

Yureien avatar Yureien commented on August 11, 2024

from frames.

lock avatar lock commented on August 11, 2024

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

from frames.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.