Comments (6)
I have pinpointed it to this line - parseListFromJson(param, response)
. This takes ~30 seconds.
from frames.
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:
- Be sure to use a fast server.
- 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)
- Reduce the amount of wallpapers. I'm sure nobody will check 15K wallpapers. Even 5K is a fairly good amount.
- 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.
from frames.
from frames.
@fadedcoder
Would you mind if I implement your code in the original dashboard?
from frames.
from frames.
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)
- Launch Screen Image changing directory isn't available HOT 3
- Download wallpaper on WiFi only option not working HOT 1
- Make wallpaper browsing a lot easier HOT 1
- App crashes on downloading some wallpapers on Android 11 HOT 1
- Wallpaper Wrong Sections HOT 1
- Use Weblate HOT 4
- Non-free license on the wiki HOT 1
- Not A bug, Warning issue In Play Console, Please look into this HOT 1
- Download Wallpapers HOT 2
- Notifications and Android 13 HOT 2
- Permision request "notifications" optional HOT 2
- App keeps refreshing on selection of some languages HOT 4
- Add support for embedded Wallpapers HOT 5
- Predictive back gesture not working on Android 14 HOT 8
- Unresolved reference: app HOT 3
- Wallpapers load in debug, but not in release HOT 5
- Material Design 3 Toggles/Switches HOT 3
- labelVisibilityMode Does not Work HOT 4
- Valid JSON file still causes "Data is Possibly Malformed" error HOT 3
- Action required: Migrate to supported version of Google Play Billing Library HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frames.