[jni] Bindings for performance tuning
forgot to add changes in detection-performance