Quote Originally Posted by snadrus View Post
Adding thru-JNI costs to native apps on Android will guarantee they're always second-class (ref Firefox OS's discussion vs Android). A common base penalizes either app type the least.
JNI only adds a few clock cycles to every call. On my machine it was like 5-10 nanoseconds.
So if your function call takes 1millisecond without JNI, it will take 1,000005 milliseconds with JNI.
IMO this is negligible overhead. Unless of course you are calling very short running JNI functions (a few nanoseconds) in a tight loop.
But if that is being done, your are most certainly doing it VERY WRONG