Compares FassionFruit 0.2.2 against JNI, Java FFM and Pure Java, using Pollard's Rho in C as the native workload.
- JDK 25, Gradle 9.x
- CMake 3.16+ and a C compiler (gcc, clang or MSVC)
./gradle wrapper
./gradlew jmhThe native library is built automatically into native/out/ (bench_native.dll / .so / .dylib).
JMH results are written to results/raw/jmh.json.
cd native
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DJAVA_HOME=<jdk>
cmake --build build --config Release
./out/standalone