Skip to content

Improving Store.items loading speed at startup #17

Answered by mergesort
samalone asked this question in Q&A
Discussion options

You must be logged in to vote

I just merged in #22 which provides very big performance improvements to Store initialization and startup, with additional improvements that make add() and remove() operations have no performance penalties, even in large Stores.

In my testing loading a Store of 8,000 items went from ~15 seconds to 2 seconds, and smaller Stores felt instantaneous. That should take care of the issues you were seeing, and even should be ok if you wanted to use this for small images. (I still don't recommend it unless you're sure it'll only be a few images, but you shouldn't see the performance issues you were seeing.)

Replies: 14 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mergesort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #16 on June 25, 2022 16:12.