[Lldb-commits] [lldb] [lldb] Reduce the frequency of DWARF index progress reporting (PR #118953)

via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 10 11:49:28 PST 2024


SingleAccretion wrote:

> I think that in your case we're limited by the speed of console updates rather than the progress mutex.

Agreed.

> If you have some time, I'd be grateful if you could test this patch out. The thing want the see is whether this completely resolves your issue or if you still see a difference between disabled&enabled progress reports.

I can confirm it does!

Without the patch, I see a ~25x slowdown when enabling progress reporting ("LLDB time" goes from < 1 second to ~20 seconds), with this patch, the difference is not measurable.

https://github.com/llvm/llvm-project/pull/118953


More information about the lldb-commits mailing list