[Lldb-commits] [lldb] [WIP] [lldb][Progress] Report progress when completing types from DWARF (PR #91452)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 08:38:49 PDT 2024


adrian-prantl wrote:

> I am somewhat worried about this slowing down the actual operations it is reporting progress on. I didn't really measure this, but intuitively, I'd expect that a one of these operations (parsing/importing one type) would be pretty fast, and that the whole process takes so long simply because performing a very large number of these ops.
> 
> Can you get some numbers on this? E.g., the number of events (per second?) that this generates, the timings of expression evaluation with/without the patch, or something like that?

My understanding was that the progress increment is designed to be really cheap (writing two pointers) and that it's up to presentation layer to decide a t what frequency to update the UI.

@JDevlieghere — is that perception correct?

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


More information about the lldb-commits mailing list