From b138d5740a0e723a84014ce41614a30c44866baa Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 24 Nov 2023 15:05:47 -0500 Subject: [PATCH] log: add message about number of threads used Closes #2122 --- crates/core/flags/hiargs.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/core/flags/hiargs.rs b/crates/core/flags/hiargs.rs index 555c8bd6..41a6bc29 100644 --- a/crates/core/flags/hiargs.rs +++ b/crates/core/flags/hiargs.rs @@ -171,6 +171,7 @@ impl HiArgs { } else { std::thread::available_parallelism().map_or(1, |n| n.get()).min(12) }; + log::debug!("using {threads} thread(s)"); let with_filename = low .with_filename .unwrap_or_else(|| low.vimgrep || !paths.is_one_file);