Skip to content

[PFObject pin] takes longer time with more objects saved in LocalDataStore #135

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

Closed
noughts opened this issue Aug 29, 2015 · 9 comments
Closed
Labels
state:duplicate Duplicate of already reported issue

Comments

@noughts
Copy link

noughts commented Aug 29, 2015

It seems that [PFObject pin] takes longer time with more objects saved in LocalDataStore
When LocalDataStore is empty, it takes only 50ms to pin 10 ParseObjects.
When there are 500 objects in LocalDataStore, it takes 750ms to pin.
When there are 1,000 objects in LocalDataStore, it takes 1480ms to pin.

I've attached a simple repro project file using Starter Project.
https://dl.dropboxusercontent.com/u/309225/LocalDataStorePerformance.zip
By running it, you can see that pin is repeated, and its process time gets longer and longer.

Is there any way to make this faster?
Thanks for your advice.

Environment:
Parse SDK 1.8.1
iPhone6

@richardjrossiii
Copy link
Contributor

Duplicate of #32.

@nlutsenko nlutsenko added the state:duplicate Duplicate of already reported issue label Aug 29, 2015
@noughts
Copy link
Author

noughts commented Aug 29, 2015

Oh I've never noticed LDS means LocalDataStore.

@Mohd-Aamir-M
Copy link

i am getting same issue and i am totally frustrated after choosing parse. I want to go for paid plan but this issue is the hurdle to my project. Did you get any solution?

@richardjrossiii
Copy link
Contributor

We are tracking this on #32, and currently, we have a solution for one aspect of LDS performance for release in 1.9.0.

@Mohd-Aamir-M
Copy link

When 1.9.0 will be released, my project is stuck for that?

I would recommend your support on this.

@nlutsenko
Copy link
Contributor

It's coming soon, no specific time set, but you can get a rough estimate from looking at the periods of previous releases.

@Mohd-Aamir-M
Copy link

Latest iOS sdk is 1.8.5 and upcoming will be 1.9.0 or 1.8.6?

And 1.9.0 will solve this issue of slow pin?

@nlutsenko
Copy link
Contributor

@psiphone, 1.9.0 will improve the performance with pinning and querying objects in Local Datastore.
Solve this issue - up to extent. As I and Richard previously mentioned - we are working on improving overall experience and performance with Local Datastore and tracking progress in #32.

Next version is going to be 1.9.0, according to the milestones in this repository.

@Mohd-Aamir-M
Copy link

Ok waiting and hope this will fix if i have thousands of rows in a table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:duplicate Duplicate of already reported issue
Projects
None yet
Development

No branches or pull requests

4 participants