Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Elapsed time for large data transfer #43
I have an example of large data transfer (about 9000 rows). The classes that represent the data are the following:
And this is the piece of code used when extracting the data:
Elapsed time for real devices is about 20 seconds.
Do you think maybe exists some performance problems? Or is normal so long for querying?
I have done some benchmarking against some of the other ORMs and Rush outdoes ActiveAndroid and Sugar and is a very close behind ormlite. Ormlite is a far thinner wrapper on the sql so ill live with that.
I have noticed that there seems to be a bit of a slow down when hitting about 10000 rows. I recorded 4000 in 2.5 seconds but 10x that took 66 seconds. So I there should be something I can do about that.
You can do a RushSearch async with a callback to help with this. As loading that many rows is never going to be instant.