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

FAQ: Library overhead #25

Open
ScottPierce opened this Issue Jan 30, 2017 · 2 comments

Comments

Projects
None yet
4 participants
@ScottPierce

It'd be useful to have some data in the FAQ about the databases overhead

  • size
  • method count
  • how much can pro-guard reduce
@Miha-x64

This comment has been minimized.

Show comment
Hide comment
@Miha-x64

Miha-x64 Jan 30, 2017

...including size of JNI libs, which is cannot be reduced by ProGuard.
(Presentations says ObjectBox is in C/C++. For instance, many people avoiding Realm because it has large JNI libraries.)

...including size of JNI libs, which is cannot be reduced by ProGuard.
(Presentations says ObjectBox is in C/C++. For instance, many people avoiding Realm because it has large JNI libraries.)

@FabianTerhorst

This comment has been minimized.

Show comment
Hide comment
@FabianTerhorst

FabianTerhorst Jan 30, 2017

Arch ObjectBox-Size Realm-Size
x86 1,3MB 3,2MB
x86_64 - 3,1MB
mips - 3,6MB
arm64-v8a 1,1MB 2,8MB
armeabi-v7a 838,5KB 1,8MB
Arch ObjectBox-Size Realm-Size
x86 1,3MB 3,2MB
x86_64 - 3,1MB
mips - 3,6MB
arm64-v8a 1,1MB 2,8MB
armeabi-v7a 838,5KB 1,8MB

@greenrobot greenrobot added the web site label Jan 30, 2017

greenrobot added a commit that referenced this issue Sep 4, 2017

Need to retain Entity annotation for ProGuard. #25
- With RetentionPolicy.SOURCE the annotation is already stripped by the compiler, before ProGuard gets a chance to transform the byte code. So set at least RetentionPolicy.CLASS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment