Load times #199
Replies: 4 comments 2 replies
-
Skins dont affect how fast or slow content loads. This is a complete myth that one skin might be "faster" to load content than another. There's a ton of different reasons a plugin might take longer to load at a different time, none of which relate to the skin used. For instance, I can see different items in both lists, some of those items might be cached, others might not. A cached item is going to load much faster than one which isnt. Unless you can replicate exactly the same conditions each time (which is impossible) then these types of comparisons are largely meaningless. |
Beta Was this translation helpful? Give feedback.
-
In both videos I can see that the spotlight loads at practically the same time. The list you are comparing at the bottom is just about the worse possible list to use for comparison. It has completely different items in it, relies on Trakt account authorisation and a history sync, and requires the TMDb server to generate recommendations based on a randomised movie.. All these things could have wildly different response times depending on the state of each server and how recently each of these bits of data were access. In particular, Trakt authorisation and sync times can vary significantly. |
Beta Was this translation helpful? Give feedback.
-
BTW you can use the discussions for general questions etc. that are not specific bugs or feature requests. I've converted this thread to a discussion since it is question. |
Beta Was this translation helpful? Give feedback.
-
If you're using TMDbHelper there is an option you can enable in TMDbHelper Settings under Expert called: That will then give you a report of timing for each list that opens so you can see exactly where the slow down was. Note it will generate a lot of log spam, so it shouldn't be left on during normal usage -- only use it for debugging. It generates a report per widget like so:
In this example, we can see most of the process did not take long. However, there was one random item which took the TMDb API server a long time to return (4.784 seconds) and that held up the loading. Most likely what happened here was I triggered their server rate limiter -- this was on startup, so I had a lot of widgets all loading at the same time, so lots of requests all being made at once. Here's a more detailed explainer of each row: get_list get_kodi add_items build item_api On average, each item only took 0.26 seconds. However, we can also see that one item maxed out at 4.784 seconds which accounts for basically all the 4.866 seconds of build time. item_tmdb / item_ftv Here we can see that the TMDb server was holding things up for that one item with a 4.78 second wait. sync make Here's another example that shows sync time:
In this list we can see everything loaded very fast. Likely all already cached since I use this list a lot and it doesnt change much. However, we can see the And finally one more example to show a Trakt list which requires a lot of additional data.
You can see in this list that the items themselves barely took any time. That's because most of them are already cached. However, the |
Beta Was this translation helpful? Give feedback.
-
Skin section
Home Widgets
Current Behavior
Not a bug, just more curious in ways of workings.
The first video below is Kodi running from start to first widget loading in Ah2, total load time is around 35 seconds.
2nd video is AF load to first widget is a good 30 seconds more.
I have exactly the same amount of widgets on both set ups.
I'm just curious, is there a lot more going on in the background in AF to make the additional load time.
Expected Behavior
Just curious
Steps To Reproduce
I know both skins are very very different, but people mention it's faster.
I'm happy to provide logs if required.
I use FireCube version 3 is that makes any difference, I know you don't use android
Happy to contribute more if you'd like me to get you one haha ...
Screenshots and Additional Info
firetv_2023-11-05_10_18_31.mp4
firetv_2023-11-05_10_36_12.mp4
Checklist
Beta Was this translation helpful? Give feedback.
All reactions