11 ms·
True. I did some benchmarking a while ago, and had that number in my head. Revisiting it now, it seems to be way off - more like 5 nanoseconds with -Xcheck:jni
by twic 9y ago
True. I did some benchmarking a while ago, and had that number in my head. Revisiting it now, it seems to be way off - more like 5 nanoseconds with -Xcheck:jni on. Code:
https://github.com/tomwhoiscontrary/jni-bench https://github.com/tomwhoiscontrary/jni-bench