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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to