@snoop_inference taking a very long time?

Running @snoop_inference on a function from my package is taking a very long time - it’s been running for an hour since the function finished executing and hasn’t returned yet. Is this a known issue in any cases? Any suggestions for debugging? The function itself takes about 3 minutes to compile/run (mostly compile) and is admittedly pretty complicated - but that’s why I want to profile the compilation/inference!

I’m using Julia v1.12.0, SnoopCompileCore v3.1.1. Some simple ‘hello world’ type example in the REPL works fine, and completes almost instantaneously.

I tried profiling the @snoop_inference call, and found that it seems to be taking a huge amount of time here

Maybe this should be expected if the tree is very large, but my original call is up to about 2 hours now, and still not finished…

Maybe this is a bug?

1 Like