The ONNX Runtime is written in C++ and it uses the GPU. And Java is certainly much faster than Python.
For those that care about performance know that the worst case is taken into account regardless if it is written in C++ for both memory and runtime performance.