Very long analysis due to slow addr2line calls

I try to use flamegraph to profile quick-xml benchmarks. I've run the following command in the quick-xml checkout:

cargo flamegraph --bench macrobenches -- --bench

perf collected over 8GB of raw data and analysis going more than a hour already. flamegraph runs perf script which runs addr2line many times, about 2-3 invocations per second. It seems to me that such a simple task consumes absurd time to complete. Probably it is better to find more performant solutions to process perf data.