[Lldb-commits] [PATCH] D150805: Proof of concept for reducing progress-reporting frequency.

Jordan Rupprecht via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 17 11:30:21 PDT 2023


rupprecht added a comment.

This is a nice proof of concept, but I think we should go with a time-based approach to rate limit this. (Anyone else in LLDB know if we have some utils around to help with this?)

e.g. if the first 1000 files are small and the last 1000 are large, the user will see this quickly get to 1000/2000 and then appear to hang, until it magically/surprisingly finishes.

With a time-based rateacl, you can watch it slowly chug along 1001/2000, 1002/2000, etc. If there is a hanging problem, you'll deterministically see it hang on the same file number.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150805/new/

https://reviews.llvm.org/D150805



More information about the lldb-commits mailing list