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

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

Reply via email to