-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drastic difference in the mean running times of Julia and Python #23
Comments
Do you want me to take a look? What are you running? |
Sure, the code has been merged in the last commit. I am running Tsit5() on it (if that is what you asked). |
what integrator are you using in SciPy? |
I don't have a great understanding about these, but I think it is RK23.
Sorry about the previous comment, the code is in the PR ( it hasn't been merged yet ). |
Alright. I'll follow the benchmark and when you merge it I'll take a look. |
I have just reviewed the PR and merged it. Maybe the issue is #6 the einsum hack is allocating arrays at every step - this might explain the 637mb allocation for the solving the ODE (the transition tensor should be less < 1MB). |
Alright, I'll take a look and see what can be done. Indeed, 637mb is far too much. |
Accelerated by 36,000x in #24 |
The benchmarking (if it is correct) shows results where Julia's version of
solveSystem
is really slow when compared to Python's version of the samePython results

Julia results

The text was updated successfully, but these errors were encountered: