5 ms·
That jumped out to me too. There is a significant performance hit when you make JNI calls. Last I looked not all of Android's API are easily exposed to native
by stusmall 12y ago
That jumped out to me too. There is a significant performance hit when you make JNI calls. Last I looked not all of Android's API are easily exposed to native code. Constantly context switching from native to managed can be beastly. I'd be curious on how often and when it is doing these JNI calls, what is native and what is java.
- crashandburn4 12y agoSorry when you say native versus Java what do you mean? As far as I was concerned all native apps are java?
- girvo 12y agoNative machine code, he means, rather than "native to Android" Java bytecode.
- icebraining 12y agohttps://developer.android.com/tools/sdk/ndk/index.html https://developer.android.com/tools/sdk/ndk/index.html