https://github.com/mysterionrise/indigo-wrapper-benchmark
Testing of the different native invocation mechanisms of native code in Java
https://github.com/mysterionrise/indigo-wrapper-benchmark
java jna jnr libraries native panama
Last synced: 3 months ago
JSON representation
Testing of the different native invocation mechanisms of native code in Java
- Host: GitHub
- URL: https://github.com/mysterionrise/indigo-wrapper-benchmark
- Owner: MysterionRise
- License: apache-2.0
- Created: 2016-08-08T09:32:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-06T22:04:30.000Z (almost 3 years ago)
- Last Synced: 2025-04-18T11:35:57.389Z (6 months ago)
- Topics: java, jna, jnr, libraries, native, panama
- Language: Java
- Homepage:
- Size: 7.52 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Indigo wrapper tests for different Java invocation of native libs
Project requires to have prebuilt native libs of Indigo (https://github.com/epam/Indigo) placed under `lib`
## Test 1
#### Date 10.12.2021
Benchmark was completed on Mac OSX 12.0.1 on Apple M1 Max 64 GB### Results
```
Benchmark Mode Cnt Score Error Units
IndigoJNA.benchmarkJNA avgt 5 876.912 ± 22.658 ms/op
IndigoJNA.benchmarkJNA avgt 5 875.835 ± 18.079 ms/op
IndigoJNR.benchmarkJNR avgt 5 876.333 ± 27.011 ms/op
IndigoJNA.benchmarkJNA avgt 5 852.179 ± 46.401 ms/op
IndigoTest.benchmarkIndigo avgt 25 822.508 ± 69.830 ms/op
```## Test 2
#### Date 5.11.2022
Benchmark was completed on Mac OSX 12.6 on Apple M1 Max 64 GB
OpenJDK 19.0.1### Results
```
Benchmark Mode Cnt Score Error Units
IndigoJNA.benchmarkJNA avgt 5 850.148 ± 3.754 ms/op
IndigoJNR.benchmarkJNR avgt 5 855.261 ± 13.167 ms/op
IndigoTest.benchmarkIndigo avgt 5 851.085 ± 33.988 ms/op
```