-
Notifications
You must be signed in to change notification settings - Fork 160
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
Slow compilation of bilinear forms #2544
Comments
I think this is a loopy slowness.
Takes around 2 seconds for me, but the subsequent
Takes 16 seconds. I imagine that also inlining it into the pyop2 kernel would make things slower. cc: @inducer, @kaushikcfd |
I think we are not inlining the local kernels anymore (unless they are vectorised, but this is still not merged to main). |
Do you have a profile of what routines in loopy are being slow? |
here's the profile |
Thanks! I had moved on to vmprof from pyinstrument, but that HTML output is lovely. I might be back! At any rate, I'm compatible with whatever. The dominant cost appears to be So altogether I see one easy target here, which is a cache for |
Compilation for these forms is just very slow, maybe someone could have a look to ensure the algorithmic complexity is the expected one:
Here's the output:
The text was updated successfully, but these errors were encountered: