Skip to content
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

Double writes in Realm #2

Open
bmunkholm opened this issue Apr 17, 2016 · 0 comments
Open

Double writes in Realm #2

bmunkholm opened this issue Apr 17, 2016 · 0 comments

Comments

@bmunkholm
Copy link

Hi,
In your write test for Realm you should delete ´´´realm.copyToRealm(o)´´´ to avoid doubling the object. You already created the object with ´´´createObject()´´´. That should make a big difference with Realms write speed :-)

PS: You are comparing with an in-memory representation. Seems a bit odd since all the DB's are persisting to disk. But if you just want to compare without disk overhead, you can also run Realm in-memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant