updated test benchmark script for native code