Menu

#2 Neodatis very slow on Android device and emulator

open
nobody
None
5
2010-06-03
2010-06-03
Anonymous
No

I have a fairly small database and for some reason retrievals from that database are 5-6 times slower when running on android 2.0.1. Running this code takes about fifteen seconds in the Android emulator and 5-7 seconds on the Android device. It takes less than two seconds in Eclipse. Any ideas?

public Collection<Category> getCategories() {
Objects<Category> categories = listDB.getObjects(Category.class);

return categories;
}

The database has 7 objects in the Category class. Any thoughts? I don't want to scrap Neodatis from my project but I will if I can't get it to perform.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.