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

Performance question #64

Closed
krisskross opened this issue May 30, 2016 · 2 comments
Closed

Performance question #64

krisskross opened this issue May 30, 2016 · 2 comments

Comments

@krisskross
Copy link

Are there any performance benchmarks available? I was curious to understand how much overhead can be expected and how it compares to JNI (and other libraries).

@headius
Copy link
Member

headius commented May 31, 2016

We have done some testing for presentations, but not a formal suite of benchmarks to compare with raw JNI or other libraries like JNA. In our testing, however, the overall cost of making a simple native call is about what it is for hand-written JNI...significantly faster than JNA. As you start to use more advanced features, they add overhead too...but in most cases we (really, @wmeissner, the founder of the JNR projects) try to keep that overhead about what you'd have to accept to do the same features with JNI.

@krisskross
Copy link
Author

Sounds excellent, thanks Charles!

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

2 participants