[Lldb-commits] [PATCH] D152364: [lldb] Rate limit progress reports -- different approach [WIP-ish]

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 9 01:06:09 PDT 2023


labath added a comment.

Actually, thinking about these "unique" events, I think it would be worth trying out sending the progress update events as "unique". Depending on where exactly in the pipeline the congestion happens, it might just be enough to fix the immediate problem. If the slow screen updates cause the `write(stdout)` calls to block, then we will have a queue forming in the listener object. The uniqueness property would help with that as it would collapse that queue into a single event. If the write does not block (and the queue forms somewhere down the line), then we need rate limiting.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152364



More information about the lldb-commits mailing list