[llvm] [lit] Add an option to lit which ratelimits progressbar output. (PR #186479)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 14 12:35:15 PDT 2026


================
@@ -235,6 +235,14 @@ def parse_args():
         help="Do not use curses based progress bar (default)",
         action="store_false",
     )
+    format_group.add_argument(
+        "--min-output-interval",
+        dest="minOutputInterval",
+        help="Limit updates to progressbar to at most once per INTERVAL, in seconds. Set to 0 to disable ratelimit (default 0.2 seconds).",
+        default=0.2,
----------------
boomanaiden154 wrote:

The default before was having no rate limit which we should probably preserve here?

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


More information about the llvm-commits mailing list