@bjorn3 actually -- one recommendation is to do
perf script --no-inline which is a massive speedup usually
I think that might get you most of the gains
I will try that @simulacrum
--no-inline worked perfectly. Now it only takes a few seconds. I wish there was a way to not use it, but instead limit the output to samples containing a certain frame (only my code instead of all of rustc) though.