Hey,
I’m having the same issue. I have to compute jacobians many times in loop.
Individual call to calculate jacobian is fast and not expensive, but when I use it in loop it slows down with every call even further.
Did you solve this problem by any chance?